[lld] r305250 - Also check section address in test.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 16:22:01 PDT 2017
Author: rafael
Date: Mon Jun 12 18:22:00 2017
New Revision: 305250
URL: http://llvm.org/viewvc/llvm-project?rev=305250&view=rev
Log:
Also check section address in test.
This shows an oddity of this output. While the section address is 0,
the the symbol address is computed as if the section was allocatable.
Modified:
lld/trunk/test/ELF/linkerscript/symbols-non-alloc.s
Modified: lld/trunk/test/ELF/linkerscript/symbols-non-alloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/symbols-non-alloc.s?rev=305250&r1=305249&r2=305250&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/symbols-non-alloc.s (original)
+++ lld/trunk/test/ELF/linkerscript/symbols-non-alloc.s Mon Jun 12 18:22:00 2017
@@ -9,6 +9,9 @@
# RUN: ld.lld -o %t2 --script %t.script %t
# RUN: llvm-objdump -section-headers -t %t2 | FileCheck %s
+# CHECK: Sections:
+# CHECK: .nonalloc 00000008 0000000000000000
+
# CHECK: SYMBOL TABLE:
# CHECK: 00000000000000f0 .nonalloc 00000000 Sym
More information about the llvm-commits
mailing list