Community
Participate
Working Groups
#define mb() __asm__ __volatile__ ("sync" : : : "memory") int main(int argc, char **argv) { mb(); } -- This is an example ppc assembly usage -- note that it is syntactically correct, but gcc on windows will complain about the instructions (which are not x86). This may mask other errors -- but the parser seems to recover ok.
Created attachment 70482 [details] Patch to support GNU Extended ASM This patch updates the AbstractGNUSourceCodeParser to accept the GNU asm extensions and adds a test in CompleteParser2Tests. I'm not storing any of the additional information so for the example above you couldn't tell that the declaration is volatile and only "sync" returned by getAssembly.
Created attachment 70496 [details] Patch to support GNU Extended ASM Further updates to support code in bug 117001 and also support named operands.
Thanks, I have added your testcase, it passses.
assigning
done