diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-21 17:02:27 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-21 17:02:27 +0000 |
commit | 33a71f31af401100c8f267627ec40465029acff9 (patch) | |
tree | 5ac15cd60bf2535629ec02c92946931f497959b4 /lib/Sema/SemaStmtAsm.cpp | |
parent | 7fcde17284f5b18b18d858bbbc81898f58f3c296 (diff) |
[ms-inline asm] Append identifier for better debugging.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmtAsm.cpp')
-rw-r--r-- | lib/Sema/SemaStmtAsm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp index a09bdc75bd..b4b91ec445 100644 --- a/lib/Sema/SemaStmtAsm.cpp +++ b/lib/Sema/SemaStmtAsm.cpp @@ -446,6 +446,7 @@ static void patchMSAsmStrings(Sema &SemaRef, bool &IsSimple, // 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; } } |