Skip to content

Commit 32f47b8

Browse files
committed
[NFCI][test][asm] Enable AT&T syntax explicitly
Implementation files using the Intel syntax typically explicitly specify it. Do the same for the few files where applicable for AT&T. This enables building LLVM with `-mllvm -x86-asm-syntax=intel` in one's Clang config files (i.e. a global preference for Intel syntax).
1 parent bf2653e commit 32f47b8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libcxxabi/test/native/x86_64/lpstart-zero.pass.sh.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
## The exception table is modified to use udata4 encoding for LPStart and
2424
## sdata4 encoding for call sites.
2525

26+
.att_syntax
2627
.text
2728
.globl main # -- Begin function main
2829
.p2align 4, 0x90

libunwind/test/remember_state_leak.pass.sh.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
SIZEOF_UNWIND_EXCEPTION = 32
4040

41+
.att_syntax
4142
.text
4243
callback:
4344
xorl %eax, %eax

0 commit comments

Comments
 (0)