In MS inline asm syntax a label with '$' char produces an error, while in AT&T it does not.
In AT&T inline asm syntax Clang escapes the '$' char and replaces it with "$$". Adopted same approach for MS syntax.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D15795
[ms inline asm] Add support for label names with '$' chars ClosedPublic Authored by myatsina on Dec 28 2015, 7:41 AM.
Details Summary In MS inline asm syntax a label with '$' char produces an error, while in AT&T it does not.
Diff Detail Event Timelinemyatsina updated this object. This revision is now accepted and ready to land.Dec 28 2015, 8:20 AM Closed by commit rL256545: [ms inline asm] Add support for label names with '$' chars (authored by myatsina). · Explain WhyDec 29 2015, 12:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 43692 lib/Sema/SemaStmtAsm.cpp
test/CodeGen/ms-inline-asm.c
|