diff options
author | Amir Ayupov <amir.aupov@gmail.com> | 2022-02-04 20:33:22 +0300 |
---|---|---|
committer | Amir Ayupov <amir.aupov@gmail.com> | 2022-02-04 20:48:22 +0300 |
commit | d36bd0857289c3e89b170c7dcf21c4574fca701c (patch) | |
tree | 41bcb524ee673a917b4763eec688ba50f6d63c25 /bolt | |
parent | 6dbba770a8f981301ff4e106638e2ad269298b52 (diff) |
[BOLT][TEST] Add section flags for .gcc_except_table
clang-10 complains about changed section flags in two tests:
- X86/shrinkwrapping.test
- X86/exceptions-args.test
Fix that by adding the missing flags.
Reviewed By: yota9
Differential Revision: https://reviews.llvm.org/D119014
Diffstat (limited to 'bolt')
-rw-r--r-- | bolt/test/X86/Inputs/exc4sw.S | 4 | ||||
-rwxr-xr-x | bolt/test/X86/Inputs/exc_args.s | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bolt/test/X86/Inputs/exc4sw.S b/bolt/test/X86/Inputs/exc4sw.S index f1ffc178b0c0..06bd54921e5d 100644 --- a/bolt/test/X86/Inputs/exc4sw.S +++ b/bolt/test/X86/Inputs/exc4sw.S @@ -124,7 +124,7 @@ _Z12never_throwsv: .LEHE3: .cfi_endproc .LFE14: - .section .gcc_except_table + .section .gcc_except_table,"a",@progbits .align 4 .LLSDA14: .byte 0xff @@ -317,7 +317,7 @@ main: .LEHE14: .cfi_endproc .LFE15: - .section .gcc_except_table + .section .gcc_except_table,"a",@progbits .align 4 .LLSDA15: .byte 0xff diff --git a/bolt/test/X86/Inputs/exc_args.s b/bolt/test/X86/Inputs/exc_args.s index 6140786c16fd..71853371ceca 100755 --- a/bolt/test/X86/Inputs/exc_args.s +++ b/bolt/test/X86/Inputs/exc_args.s @@ -157,7 +157,7 @@ _Z12never_throwsv: ret .cfi_endproc .LFE17: - .section .gcc_except_table + .section .gcc_except_table,"a",@progbits .align 4 .LLSDA17: .byte 0xff @@ -304,7 +304,7 @@ main: ret .cfi_endproc .LFE18: - .section .gcc_except_table + .section .gcc_except_table,"a",@progbits .align 4 .LLSDA18: .byte 0xff |