tambry wrote:

@nico Unfortunately that also changes the default syntax for `asm()` blocks in 
code, which is untenable as too much existing software is written with no 
explicit declaration assuming AT&T syntax. I haven't tried but I'm fairly 
certain LLVM itself wouldn't build like that either.

Frankly `-mllvm -x86-asm-syntax=intel` isn't ideal either due to changing the 
default syntax for standalone assembly files to Intel, while ideally I'd just 
like Clang's output assembly when debugging issues (i.e. `clang -S`) to be 
Intel. But alas, this is the closest and the internals seem quite intertwined 
so fixing the few affected cases in LLVM tests is much easier (and one could 
argue anyway that being explicit is better).

https://github.com/llvm/llvm-project/pull/166818
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to