[PATCH] D65478: Create unique, but identically-named ELF sections for explicitly-sectioned functions and globals when using -function-sections and -data-sections.
Rahman Lavaee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 10:07:11 PDT 2019
rahmanl updated this revision to Diff 212614.
rahmanl added a comment.
Fix regular expression in explicit-elf-sections.ll test.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65478/new/
https://reviews.llvm.org/D65478
Files:
test/CodeGen/X86/explicit-elf-sections.ll
Index: test/CodeGen/X86/explicit-elf-sections.ll
===================================================================
--- test/CodeGen/X86/explicit-elf-sections.ll
+++ test/CodeGen/X86/explicit-elf-sections.ll
@@ -38,28 +38,28 @@
; SECTIONS: .section aaa,"ax", at progbits,unique,1
-; SECTIONS-NOT: {{.section|\.text|\.data}}
+; SECTIONS-NOT: {{\.section|\.text|\.data}}
; SECTIONS: f:
; SECTIONS: .section aaa,"ax", at progbits,unique,2
-; SECTIONS-NOT: {{.section|\.text|\.data}}
+; SECTIONS-NOT: {{\.section|\.text|\.data}}
; SECTIONS: g:
; SECTIONS: .section .text.h,"ax", at progbits
-; SECTIONS-NOT: {{.section|\.text|\.data}}
+; SECTIONS-NOT: {{\.section|\.text|\.data}}
; SECTIONS: h:
; SECTIONS: .section aaa,"ax", at progbits,unique,3
-; SECTIONS-NOT: {{.section|\.text|\.data}}
+; SECTIONS-NOT: {{\.section|\.text|\.data}}
; SECTIONS: i:
; SECTIONS: .section aaa,"aw", at progbits,unique,4
-; SECTIONS-NOT: {{.section|\.text|\.data}}
+; SECTIONS-NOT: {{\.section|\.text|\.data}}
; SECTIONS: x:
; SECTIONS: .section aaa,"aw", at progbits,unique,5
-; SECTIONS-NOT: {{.section|\.text|\.data}}
+; SECTIONS-NOT: {{\.section|\.text|\.data}}
; SECTIONS: y:
; SECTIONS: .section .data.z,"aw", at progbits
-; SECTIONS-NOT: {{.section|\.text|\.data}}
+; SECTIONS-NOT: {{\.section|\.text|\.data}}
; SECTIONS: z:
; SECTIONS: .section aaa,"aw", at progbits,unique,6
-; SECTIONS-NOT: {{.section|\.text|\.data}}
+; SECTIONS-NOT: {{\.section|\.text|\.data}}
; SECTIONS: w:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65478.212614.patch
Type: text/x-patch
Size: 1481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190731/36cf2a0a/attachment.bin>
More information about the llvm-commits
mailing list