summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-10-30 16:45:21 -0700
committerFangrui Song <maskray@google.com>2019-11-08 09:46:45 -0800
commit59d3fbc227cca41e3e7b213ea744ca3a48d5244f (patch)
treee553c1fd48eaa2f8635e79afbc05e135548415a7 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
parent70e62a4fa6c2146fb49ee4460dad8e04152ce0a6 (diff)
downloadbcm5719-llvm-59d3fbc227cca41e3e7b213ea744ca3a48d5244f.tar.gz
bcm5719-llvm-59d3fbc227cca41e3e7b213ea744ca3a48d5244f.zip
[ELF] Suggest extern "C" when the definition is mangled while an undefined reference is not
The definition may be mangled while an undefined reference is not. This may come up when (1) the reference is from a C file or (2) the definition misses an extern "C". (2) is more common. Suggest an arbitrary mangled name that matches the undefined reference, if such a definition exists. ld.lld: error: undefined symbol: foo >>> referenced by a.o:(.text+0x1) >>> did you mean to declare foo(int) as extern "C"? >>> defined in: a1.o Reviewed By: dblaikie, ruiu Differential Revision: https://reviews.llvm.org/D69650
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud