• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.gitignoreH A D03-May-202026 32

IRBindings.cppH A D03-May-20202.4 KiB7351

IRBindings.hH A D03-May-20201.7 KiB5833

InstrumentationBindings.cppH A D03-May-20201.8 KiB4930

InstrumentationBindings.hH A D03-May-20201.3 KiB3816

MakefileH A D03-May-20202.8 KiB8467

README.markdownH A D03-May-20201.2 KiB4125

SupportBindings.cppH A D03-May-20201,008 2612

SupportBindings.hH A D03-May-2020932 3010

analysis.goH A D03-May-20202.2 KiB6929

backports.cppH A D03-May-20201.4 KiB4233

backports.goH A D03-May-2020560 216

backports.hH A D03-May-2020672 2115

bitreader.goH A D03-May-20201.3 KiB5126

bitwriter.goH A D03-May-20201.1 KiB3916

dibuilder.goH A D03-May-202023 KiB763600

executionengine.goH A D03-May-20205.4 KiB178128

executionengine_test.goH A D03-May-20202.8 KiB9769

ir.goH A D03-May-202076.4 KiB2,0151,675

ir_test.goH A D03-May-20203.7 KiB166135

irreader.goH A D03-May-20201,011 3816

linker.goH A D03-May-2020807 3111

llvm_config_darwin.goH A D03-May-2020457 133

llvm_config_linux.goH A D03-May-2020363 143

llvm_config_linux_llvm9.goH A D03-May-2020359 143

llvm_dep.goH A D03-May-2020595 192

string.goH A D03-May-20202.5 KiB10584

string_test.goH A D03-May-2020853 2813

support.goH A D03-May-20201.5 KiB5428

target.goH A D03-May-20209.7 KiB297180

transforms_coroutines.goH A D03-May-2020897 246

transforms_instrumentation.goH A D03-May-20201.3 KiB4623

transforms_ipo.goH A D03-May-20201.7 KiB4222

transforms_pmbuilder.goH A D03-May-20202.1 KiB6839

transforms_scalar.goH A D03-May-20202.7 KiB4627

version.goH A D03-May-2020611 213

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