summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/comdat-dup-group-name.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-06-04 15:33:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-06-04 15:33:30 +0000
commita401eee22fabea8d214ab604037c937277477c38 (patch)
tree80e9c7ea8ecfa148936ea62ea093c59530757e5b /llvm/test/MC/ELF/comdat-dup-group-name.s
parent762cbe7018048a2aca7673b2420a722bfa000c84 (diff)
downloadbcm5719-llvm-a401eee22fabea8d214ab604037c937277477c38.tar.gz
bcm5719-llvm-a401eee22fabea8d214ab604037c937277477c38.zip
Omit unused section symbols from the symbol table.
Section symbols exist as an optimization: instead of having multiple relocations point to different symbols, many of them can point to a single section symbol. When that optimization is unused, a section symbol is also unused and adds no extra information to the object file. This saves a bit of space on the object files and makes the output of llvm-objdump -t easier to read and consequently some tests get quite a bit simpler. llvm-svn: 239045
Diffstat (limited to 'llvm/test/MC/ELF/comdat-dup-group-name.s')
-rw-r--r--llvm/test/MC/ELF/comdat-dup-group-name.s4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/test/MC/ELF/comdat-dup-group-name.s b/llvm/test/MC/ELF/comdat-dup-group-name.s
index 6644e2b7675..e52f3dcc04d 100644
--- a/llvm/test/MC/ELF/comdat-dup-group-name.s
+++ b/llvm/test/MC/ELF/comdat-dup-group-name.s
@@ -24,10 +24,6 @@
// CHECK-NOT: }
// CHECK: Section: .group (0x7)
-// CHECK: Section: .foo (0x6)
-// CHECK: Section: .foo (0x8)
-
-
.section .foo,"axG",@progbits,f1,comdat
nop
OpenPOWER on IntegriCloud