summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-04-17 10:29:25 -0700
committerFangrui Song <maskray@google.com>2020-04-21 08:28:12 -0700
commit497c76e96dcdfe39f486853ea3b17810be5b6e45 (patch)
tree8c27aff8d31995bd29fa4ef68aa972c07518930d /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentb4fb705e77aaca2e71d1f262bb3ef06d79e1e8d2 (diff)
[ELF] Keep local symbols when both --emit-relocs and --discard-all are specified
This fixes a bug as exposed by D77807. Add tests for {--emit-relocs,-r} x {--discard-locals,--discard-all}. They add coverage for previously undertested cases: * STT_SECTION associated to GCed sections (`gc`) * STT_SECTION associated to retained sections (`text`) * STT_SECTION associated to non-SHF_ALLOC sections (`.comment`) * STB_LOCAL in GCed sections (`unused_gc`) Reviewed By: grimar, ikudrin Differential Revision: https://reviews.llvm.org/D78389
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions