Displaying 1 result from an estimated 1 matches for "thumb_up".
2017 Dec 12
3
File/module scope inline assembly
I am trying to support an experimental DSL that uses non-C identifiers, but I want to write the implementation of the runtime support libraries for this DSL in C. The compiler is built using the LLVM v5.0.0 release branch.
To do this I thought I could simply write:
int foo() { return 42; } // The C implementation
asm(".alias nonCname foo"); // Make the non-C name be a synonym for