[lld] r252312 - .eh_frame is not normally writable. Update the test to reflect that.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 6 07:25:54 PST 2015
Author: rafael
Date: Fri Nov 6 09:25:54 2015
New Revision: 252312
URL: http://llvm.org/viewvc/llvm-project?rev=252312&view=rev
Log:
.eh_frame is not normally writable. Update the test to reflect that.
Modified:
lld/trunk/test/elf2/gc-sections.s
Modified: lld/trunk/test/elf2/gc-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/gc-sections.s?rev=252312&r1=252311&r2=252312&view=diff
==============================================================================
--- lld/trunk/test/elf2/gc-sections.s (original)
+++ lld/trunk/test/elf2/gc-sections.s Fri Nov 6 09:25:54 2015
@@ -8,8 +8,8 @@
# RUN: ld.lld2 --export-dynamic --gc-sections %t -o %t2
# RUN: llvm-readobj -sections -symbols %t2 | FileCheck -check-prefix=GC2 %s
-# NOGC: Name: .text
# NOGC: Name: .eh_frame
+# NOGC: Name: .text
# NOGC: Name: .init
# NOGC: Name: .fini
# NOGC: Name: a
@@ -21,8 +21,8 @@
# NOGC: Name: __preinit_array_end
# NOGC: Name: d
-# GC1: Name: .text
# GC1: Name: .eh_frame
+# GC1: Name: .text
# GC1: Name: .init
# GC1: Name: .fini
# GC1: Name: a
@@ -34,8 +34,8 @@
# GC1: Name: __preinit_array_end
# GC1-NOT: Name: d
-# GC2: Name: .text
# GC2: Name: .eh_frame
+# GC2: Name: .text
# GC2: Name: .init
# GC2: Name: .fini
# GC2: Name: a
@@ -86,5 +86,5 @@ y:
.section .preinit_array,"aw", at preinit_array
.quad 0
-.section .eh_frame,"aw", at progbits
+.section .eh_frame,"a", at unwind
.quad 0
More information about the llvm-commits
mailing list