summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-query/QueryParserTest.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-12-22 14:50:14 -0800
committerFangrui Song <maskray@google.com>2019-12-26 09:54:22 -0800
commit1edd9651307112447f83a0cd402ee23125f0fdb3 (patch)
tree531aa8f7ca5d105140deb7490740141f6e2814e4 /clang-tools-extra/unittests/clang-query/QueryParserTest.cpp
parentcb5eb13eafdcf2d6ad8dc3a2c7b25eea3948839d (diff)
downloadbcm5719-llvm-1edd9651307112447f83a0cd402ee23125f0fdb3.tar.gz
bcm5719-llvm-1edd9651307112447f83a0cd402ee23125f0fdb3.zip
[ELF] Support input section description .gnu.version* in /DISCARD/
Linux powerpc discards `*(.gnu.version*)` (arch/powerpc/kernel/vmlinux.lds.S) to suppress --orphan-handling=warn warnings in the -pie output `.tmp_vmlinux1` The support is simple. Just add isLive() to: 1) Fix an assertion in SectionBase::getPartition() called by VersionTableSection::isNeeded(). 2) Suppress DT_VERSYM, DT_VERDEF, DT_VERNEED and DT_VERNEEDNUM, if the relevant section is discarded. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D71819
Diffstat (limited to 'clang-tools-extra/unittests/clang-query/QueryParserTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud