[MC] Assembly emission removes .arch
/.arch_extension
directives
#117221
Labels
mc
Machine (object) code
.arch
/.arch_extension
directives
#117221
Here is an example program that uses
.arch
in inline assembly to enable LSE instructions:If compiled with
clang -c test.c
it works fine, but if I first emit to assembly and then attempt to compile, it no longer succeeds:The generated assembly does not include the
.arch
directive, causing the instruction to be illegal.A similar issue exists for
.arch_directive
Example:
Thanks!
The text was updated successfully, but these errors were encountered: