diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-03-01 12:27:04 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-03-01 12:27:04 +0000 |
commit | c4df670deaf3dc7f9e560d2a6429e4364334dcf3 (patch) | |
tree | be13aff08bc44f44386f25321cf2fe3540092298 /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/ns.cpp | |
parent | d1cf7ff5abec182785731e6077bfcaa32ea9d5e3 (diff) | |
download | bcm5719-llvm-c4df670deaf3dc7f9e560d2a6429e4364334dcf3.tar.gz bcm5719-llvm-c4df670deaf3dc7f9e560d2a6429e4364334dcf3.zip |
[ELF] - Do not remove empty sections that use symbols in expressions.
This is PR36515.
Currenly if we have a script like .debug_info 0 : { *(.debug_info) },
we would not remove this section and keep it in the output.
That does not work, because it is common case for
debug sections to have a zero address expression.
Patch changes behavior so that we remove only sections
that do not use symbols in its expressions.
Differential revision: https://reviews.llvm.org/D43863
llvm-svn: 326430
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/ns.cpp')
0 files changed, 0 insertions, 0 deletions