Displaying 1 result from an estimated 1 matches for "0d552db0".
Did you mean:
0d502fb0
2017 Feb 05
2
clang/llvm support for %= in inline assembly
I encountered this issue of unique asm label names just now, in https://bugs.freebsd.org/216771 . A very simple test case is this:
void foo(void)
{
asm volatile(
"named_label:\n"
"jnz named_label\n"
);
}
void bar(void)
{
foo();
}
Compiling this with any form of optimization gives an error, because clang is attempting to inline foo() into