[PATCH] D119014: [BOLT][TEST] Add section flags for .gcc_except_table
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 4 09:38:09 PST 2022
Amir created this revision.
Amir added reviewers: maksfb, rafauler, yota9.
Herald added subscribers: ayermolo, pengfei.
Amir requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
clang-10 complains about changed section flags in two tests:
- X86/shrinkwrapping.test
- X86/exceptions-args.test
Fix that by adding the missing flags.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119014
Files:
bolt/test/X86/Inputs/exc4sw.S
bolt/test/X86/Inputs/exc_args.s
Index: bolt/test/X86/Inputs/exc_args.s
===================================================================
--- bolt/test/X86/Inputs/exc_args.s
+++ bolt/test/X86/Inputs/exc_args.s
@@ -157,7 +157,7 @@
ret
.cfi_endproc
.LFE17:
- .section .gcc_except_table
+ .section .gcc_except_table,"a", at progbits
.align 4
.LLSDA17:
.byte 0xff
@@ -304,7 +304,7 @@
ret
.cfi_endproc
.LFE18:
- .section .gcc_except_table
+ .section .gcc_except_table,"a", at progbits
.align 4
.LLSDA18:
.byte 0xff
Index: bolt/test/X86/Inputs/exc4sw.S
===================================================================
--- bolt/test/X86/Inputs/exc4sw.S
+++ bolt/test/X86/Inputs/exc4sw.S
@@ -124,7 +124,7 @@
.LEHE3:
.cfi_endproc
.LFE14:
- .section .gcc_except_table
+ .section .gcc_except_table,"a", at progbits
.align 4
.LLSDA14:
.byte 0xff
@@ -317,7 +317,7 @@
.LEHE14:
.cfi_endproc
.LFE15:
- .section .gcc_except_table
+ .section .gcc_except_table,"a", at progbits
.align 4
.LLSDA15:
.byte 0xff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119014.406011.patch
Type: text/x-patch
Size: 987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220204/9c8b284c/attachment.bin>
More information about the llvm-commits
mailing list