Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.gitignore | H A D | 03-May-2020 | 26 | 3 | 2 | |
IRBindings.cpp | H A D | 03-May-2020 | 2.4 KiB | 73 | 51 | |
IRBindings.h | H A D | 03-May-2020 | 1.7 KiB | 58 | 33 | |
InstrumentationBindings.cpp | H A D | 03-May-2020 | 1.8 KiB | 49 | 30 | |
InstrumentationBindings.h | H A D | 03-May-2020 | 1.3 KiB | 38 | 16 | |
Makefile | H A D | 03-May-2020 | 2.8 KiB | 84 | 67 | |
README.markdown | H A D | 03-May-2020 | 1.2 KiB | 41 | 25 | |
SupportBindings.cpp | H A D | 03-May-2020 | 1,008 | 26 | 12 | |
SupportBindings.h | H A D | 03-May-2020 | 932 | 30 | 10 | |
analysis.go | H A D | 03-May-2020 | 2.2 KiB | 69 | 29 | |
backports.cpp | H A D | 03-May-2020 | 1.4 KiB | 42 | 33 | |
backports.go | H A D | 03-May-2020 | 560 | 21 | 6 | |
backports.h | H A D | 03-May-2020 | 672 | 21 | 15 | |
bitreader.go | H A D | 03-May-2020 | 1.3 KiB | 51 | 26 | |
bitwriter.go | H A D | 03-May-2020 | 1.1 KiB | 39 | 16 | |
dibuilder.go | H A D | 03-May-2020 | 23 KiB | 763 | 600 | |
executionengine.go | H A D | 03-May-2020 | 5.4 KiB | 178 | 128 | |
executionengine_test.go | H A D | 03-May-2020 | 2.8 KiB | 97 | 69 | |
ir.go | H A D | 03-May-2020 | 76.4 KiB | 2,015 | 1,675 | |
ir_test.go | H A D | 03-May-2020 | 3.7 KiB | 166 | 135 | |
irreader.go | H A D | 03-May-2020 | 1,011 | 38 | 16 | |
linker.go | H A D | 03-May-2020 | 807 | 31 | 11 | |
llvm_config_darwin.go | H A D | 03-May-2020 | 457 | 13 | 3 | |
llvm_config_linux.go | H A D | 03-May-2020 | 363 | 14 | 3 | |
llvm_config_linux_llvm9.go | H A D | 03-May-2020 | 359 | 14 | 3 | |
llvm_dep.go | H A D | 03-May-2020 | 595 | 19 | 2 | |
string.go | H A D | 03-May-2020 | 2.5 KiB | 105 | 84 | |
string_test.go | H A D | 03-May-2020 | 853 | 28 | 13 | |
support.go | H A D | 03-May-2020 | 1.5 KiB | 54 | 28 | |
target.go | H A D | 03-May-2020 | 9.7 KiB | 297 | 180 | |
transforms_coroutines.go | H A D | 03-May-2020 | 897 | 24 | 6 | |
transforms_instrumentation.go | H A D | 03-May-2020 | 1.3 KiB | 46 | 23 | |
transforms_ipo.go | H A D | 03-May-2020 | 1.7 KiB | 42 | 22 | |
transforms_pmbuilder.go | H A D | 03-May-2020 | 2.1 KiB | 68 | 39 | |
transforms_scalar.go | H A D | 03-May-2020 | 2.7 KiB | 46 | 27 | |
version.go | H A D | 03-May-2020 | 611 | 21 | 3 |
README.markdown
1# Go bindings to system LLVM 2 3This library provides bindings to a system-installed LLVM. 4 5Currently supported: 6 7 * LLVM 9 from [apt.llvm.org](http://apt.llvm.org/) on Debian. 8 9## Usage 10 11If you have a supported LLVM installation, you should be able to do a simple `go get`: 12 13 go get github.com/tinygo-org/go-llvm 14 15After downloading, you may have to update the configuration for your system: 16 17 make config 18 19If you built your own LLVM, you can also use that: 20 21 # update LLVM files 22 make update SRCDIR=<dir> 23 24 # configure this LLVM build 25 make config BUILDDIR=<builddir> 26 27Note that you may have to comment out parts of `backports.go` if you use a 28newer version of LLVM. 29 30## License 31 32Most of the files are extracted from the LLVM source tree, specifically all 33\*.go, \*.cpp, and \*.h files come directly from 34[bindings/go/llvm](https://github.com/llvm-mirror/llvm/tree/release_80/bindings/go/llvm) 35in the LLVM source tree. They are all released under the [Apache License 2.0 36(with LLVM exceptions)](http://releases.llvm.org/9.0.0/LICENSE.TXT). Check 37upstream LLVM for detailed copyright information. 38 39This README, the backports\* files, and the Makefile are separate from LLVM but 40are licensed under the same license. 41