[cfe-commits] r162289 - /cfe/trunk/lib/Sema/SemaStmtAsm.cpp

Chad Rosier mcrosier at apple.com
Tue Aug 21 10:02:27 PDT 2012


Author: mcrosier
Date: Tue Aug 21 12:02:27 2012
New Revision: 162289

URL: http://llvm.org/viewvc/llvm-project?rev=162289&view=rev
Log:
[ms-inline asm] Append identifier for better debugging.

Modified:
    cfe/trunk/lib/Sema/SemaStmtAsm.cpp

Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmtAsm.cpp?rev=162289&r1=162288&r2=162289&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmtAsm.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmtAsm.cpp Tue Aug 21 12:02:27 2012
@@ -446,6 +446,7 @@
         // TODO: Patch identifier with valid operand.  One potential idea is to
         // probe the backend with type information to guess the possible
         // operand.
+        Asm += getSpelling(SemaRef, AsmToks[i]);
         break;
       }
       }





More information about the cfe-commits mailing list