aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2020-08-01 17:44:34 -0700
committerLang Hames <lhames@gmail.com>2020-08-01 18:33:44 -0700
commit0f5b70769d15d8cc728dcba353a33fb459450381 (patch)
tree820ffe7301e7411da34abfb476a4884e99e37263 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parente12a028ed3ed79fba1e1aa5212c7e22d83949192 (diff)
downloadllvm-0f5b70769d15d8cc728dcba353a33fb459450381.zip
llvm-0f5b70769d15d8cc728dcba353a33fb459450381.tar.gz
llvm-0f5b70769d15d8cc728dcba353a33fb459450381.tar.bz2
[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).
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions