aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmtAsm.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-21 17:02:27 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-21 17:02:27 +0000
commit33a71f31af401100c8f267627ec40465029acff9 (patch)
tree5ac15cd60bf2535629ec02c92946931f497959b4 /lib/Sema/SemaStmtAsm.cpp
parent7fcde17284f5b18b18d858bbbc81898f58f3c296 (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.cpp1
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;
}
}