summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-09-25 09:46:33 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-09-25 09:46:33 +0000
commit19d6ce9d8e2e587d4b5ef2b7b63b36203c5d66e8 (patch)
tree63e3fad246c98cb3e081964e853242c87388b0cc /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
parent347c70d782732a365349f37ea03de0072d3326af (diff)
downloadbcm5719-llvm-19d6ce9d8e2e587d4b5ef2b7b63b36203c5d66e8.tar.gz
bcm5719-llvm-19d6ce9d8e2e587d4b5ef2b7b63b36203c5d66e8.zip
[ELF] - Simplify removeUnusedSyntheticSections a bit.
Previously`InX::Got` and InX::MipsGot synthetic sections were not removed if ElfSym::GlobalOffsetTable was defined. ElfSym::GlobalOffsetTable is a symbol for _GLOBAL_OFFSET_TABLE_. Patch moves ElfSym::GlobalOffsetTable check out from removeUnusedSyntheticSections. Also note that there was no point to check ElfSym::GlobalOffsetTable for MIPS case because InX::MipsGot::empty() always returns false for non-relocatable case, and in case of relocatable output we do not create special symbols anyways. Differential revision: https://reviews.llvm.org/D37623 llvm-svn: 314099
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud