aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectGUI.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-12-06 16:26:55 -0800
committerFangrui Song <maskray@google.com>2019-12-10 09:00:58 -0800
commit60ce444eaa146bc2f762c70d433d4a0c847508f0 (patch)
tree680fccf08c1c878371cfc891300d6a677fbffc6f /lldb/source/Commands/CommandObjectGUI.cpp
parentf3a28202ef58551db15818f8f51afd21e0f3e231 (diff)
downloadllvm-60ce444eaa146bc2f762c70d433d4a0c847508f0.zip
llvm-60ce444eaa146bc2f762c70d433d4a0c847508f0.tar.gz
llvm-60ce444eaa146bc2f762c70d433d4a0c847508f0.tar.bz2
[ELF] Refine section group --gc-sections rules to not discard .debug_types
clang/gcc -fdebug-type-sections places .debug_types and .rela.debug_types in a section group, with a signature symbol which represents the type signature. The section group is for deduplication purposes. After D70146, we will discard such section groups. Refine the rule so that we will retain the group if no member has the SHF_ALLOC flag. GNU ld has a similar rule to retain the group if all members have the SEC_DEBUGGING flag. We try to be more general for future-proof purposes: if other non-SHF_ALLOC sections have deduplication needs, they may be placed in a section group. Don't discard them. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D71157
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions