yiannist / llvm Goto Github PK
View Code? Open in Web Editor NEW[ErLLVM] Custom LLVM not needed anymore! Just use: http://github.com/yiannist/otp
Home Page: http://www.softlab.ntua.gr/erllvm
License: Other
[ErLLVM] Custom LLVM not needed anymore! Just use: http://github.com/yiannist/otp
Home Page: http://www.softlab.ntua.gr/erllvm
License: Other
Low Level Virtual Machine (LLVM) ================================ This directory and its subdirectories contain source code for the Low Level Virtual Machine, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. Please see the documentation provided in docs/ for further assistance with LLVM, and in particular docs/GettingStarted.rst for getting started with LLVM and docs/README.txt for an overview of LLVM's documentation setup. If you're writing a package for LLVM, see docs/Packaging.rst for our suggestions.
Installed after install instructions:
git clone git://github.com/yiannist/llvm.git llvm
cd llvm/
./configure --enable-optimized --disable-assertions
make -j N (where *N* is the number of CPU cores you want to use for the compilation process)
Installing (changed sudo to su):
su
make install
Result:
llc -load=ErlangGC.so hello_1.ll
Error opening 'ErlangGC.so': ErlangGC.so: cannot open shared object file: No such file or directory
-load request ignored.
unsupported GC: erlang_gc
0 llc 0x0000000000e6f3b5 llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1 llc 0x0000000000e6f813
2 libpthread.so.0 0x00007fdccf174210
3 llc 0x0000000000b03074 llvm::GCModuleInfo::getFunctionInfo(llvm::Function const&) + 20
4 llc 0x0000000003063528 llvm::GCModuleInfo::getFunctionInfo(llvm::Function const&) + 39191752
Stack dump:
0. Program arguments: llc -load=ErlangGC.so hello_1.ll
Segmentation fault
Here should ErlangGC.so be located?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.