diff options
author | Lang Hames <lhames@gmail.com> | 2020-08-01 17:44:34 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2020-08-01 18:33:44 -0700 |
commit | 0f5b70769d15d8cc728dcba353a33fb459450381 (patch) | |
tree | 820ffe7301e7411da34abfb476a4884e99e37263 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | e12a028ed3ed79fba1e1aa5212c7e22d83949192 (diff) | |
download | llvm-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