llvm with tablegen backend for capstone disassembler
Go to file
Rafael Espindola 699f5d6bbc Recommit r324107 again.
The difference from the previous try is that we no longer directly
access function declarations from position independent executables. It
should work, but currently doesn't with some linkers.

It now includes a fix to not mark available_externally definitions as
dso_local.

Original message:

Start setting dso_local in clang.

This starts adding dso_local to clang.

The hope is to eventually have TargetMachine::shouldAssumeDsoLocal go
away. My objective for now is to move enough of it to clang to remove
the need for the TargetMachine one to handle PIE copy relocations and
-fno-plt. With that it should then be easy to implement a
-fno-copy-reloc in clang.

This patch just adds the cases where we assume a symbol to be local
based on the file being compiled for an executable or a shared
library.

llvm-svn: 324535
2018-02-07 22:15:33 +00:00
clang Recommit r324107 again. 2018-02-07 22:15:33 +00:00
clang-tools-extra [clangd] Do not precent-encode numbers in URI. 2018-02-07 12:12:06 +00:00
compiler-rt [asan] Fix filename size on linux platforms. 2018-02-07 18:27:25 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc Add vstore_half_rte implementation 2018-02-06 18:44:50 +00:00
libcxx Stop using __strtonum_fallback on Android. 2018-02-07 21:58:48 +00:00
libcxxabi [demangler] Refactor the type parser 2018-02-05 22:41:20 +00:00
libunwind [cmake] [libunwind] LLVM_FOUND isn't always set, so just test if 2018-01-27 19:31:44 +00:00
lld Document --build-id=fast in ld.lld.1 2018-02-07 21:22:20 +00:00
lldb Remove an errant ^S 2018-02-07 20:09:13 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [X86] When doing callee save/restore for k-registers make sure we don't use KMOVQ on non-BWI targets 2018-02-07 21:41:50 +00:00
openmp [OpenMP][libomptarget] Add data sharing support in libomptarget 2018-02-07 18:21:55 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopBuilder] Make -polly-stmt-granularity=scalar-indep the default. 2018-02-03 06:59:47 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.