llvm-project/llvm/tools/llvm-jitlink
Lang Hames 0f5b70769d [llvm-jitlink] Add -phony-externals option to suppress unresolved externals.
The -phony-externals option adds a generator which explicitly defines any
otherwise unresolved externals as null. This transforms link-time
unresolved-symbol errors into potential runtime null pointer accesses
(if an unresolved external is actually accessed during execution).

This option can be useful in -harness mode to avoid having to mock a
large number of symbols that are not reachable at runtime (e.g. unused
methods referenced by a class vtable).
2020-08-01 18:33:44 -07:00
..
CMakeLists.txt [JITLink] Improve llvm-jitlink regression testing support for ELF. 2020-05-28 20:31:50 -07:00
LLVMBuild.txt
llvm-jitlink-elf.cpp [llvm-jitlink] Add suppport for testing GOT entries and stubs for ELF. 2020-07-17 17:55:30 -07:00
llvm-jitlink-macho.cpp [llvm-jitlink] Add suppport for testing GOT entries and stubs for ELF. 2020-07-17 17:55:30 -07:00
llvm-jitlink.cpp [llvm-jitlink] Add -phony-externals option to suppress unresolved externals. 2020-08-01 18:33:44 -07:00
llvm-jitlink.h [llvm-jitlink] Support promotion of ODR weak symbols in -harness mode. 2020-08-01 18:33:44 -07:00