summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-02-23 01:16:57 +0000
committerRui Ueyama <ruiu@google.com>2018-02-23 01:16:57 +0000
commitc30927411ccd6a99360b7fa59d981e7917b18964 (patch)
treeda50f179902d47b696b3178b8e06857030a7b220 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
parentcf85f3117200889dbc79578aea9cb8a03b461ee8 (diff)
downloadbcm5719-llvm-c30927411ccd6a99360b7fa59d981e7917b18964.tar.gz
bcm5719-llvm-c30927411ccd6a99360b7fa59d981e7917b18964.zip
Make undefined symbol in DSO to pull out object files from archive files.
We have an internal program that does't link without this patch. I don't know of any open-source program that needs this, but there might be. Since this patch improves compatibility with GNU linkers with a few lines of code, I think it's worth to be committed. The problem is about undefined symbols in DSOs. Some programs depend on the GNU linkers' behavior that they pull out object files from archive files to resolve undefined symbols in DSOs. We already allow that kind of "reverse" dependency (from DSOs to the main executable) for regular symbols, in particular, for "__progname" symbol (which is usually in crt0.o), but that doesn't work if the symbol is in an archive file. This patch is to make it work. Differential Revision: https://reviews.llvm.org/D43658 llvm-svn: 325849
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud