File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ using namespace lld;
44
44
using namespace lld ::elf;
45
45
46
46
namespace {
47
-
48
47
using SecOffset = std::pair<InputSectionBase *, unsigned >;
49
48
50
49
// Something that can have an independent reason for being live.
Original file line number Diff line number Diff line change @@ -153,8 +153,9 @@ test_local:
153
153
154
154
## Globs match multiple cases. Multiple --why-live flags union.
155
155
156
- # RUN: ld.lld a.o a.so --gc-sections --why-live=test_s * | FileCheck %s --check-prefix=MULTIPLE
157
- # RUN: ld.lld a.o a.so --gc-sections --why-live=test_simple --why-live=test_shared | FileCheck %s --check-prefix=MULTIPLE
156
+ # RUN: ld.lld a.o a.so --gc-sections --why-live=test_se* --why-live=test_se * | FileCheck %s --check-prefix=MULTIPLE
157
+ # RUN: ld.lld a.o a.so --gc-sections --why-live=test_section_offset --why-live=test_section_offset_within_symbol | FileCheck %s --check-prefix=MULTIPLE
158
158
159
- # MULTIPLE-DAG: live symbol: a.o:(test_simple)
160
- # MULTIPLE-DAG: live symbol: a.so:(test_shared)
159
+ # MULTIPLE-DAG: live symbol: a.o:(test_section_offset)
160
+ # MULTIPLE-DAG: live symbol: a.o:(test_section_offset_within_symbol)
161
+ # MULTIPLE-NOT: live symbol
You can’t perform that action at this time.
0 commit comments