summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-11-28 20:52:19 +0000
committerReid Kleckner <rnk@google.com>2016-11-28 20:52:19 +0000
commit08ebbcebb984b115ad1feb5984306f46cacdc616 (patch)
tree4235190f7af45df3e553586de92c6b0ab6f2d62b /clang/lib/Sema/Sema.cpp
parent115efcd3d12e3617d0a2ee02499b379c67c2c5cb (diff)
downloadbcm5719-llvm-08ebbcebb984b115ad1feb5984306f46cacdc616.tar.gz
bcm5719-llvm-08ebbcebb984b115ad1feb5984306f46cacdc616.zip
[MS] Mangle a unique ID into all MS inline asm labels
This solves PR23715 in a way that is compatible with LTO. MSVC supports jumping to source-level labels and between inline asm blocks, but we don't. Also revert the old solution, r255201, which was to mark these calls as noduplicate. llvm-svn: 288059
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r--clang/lib/Sema/Sema.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index 250e31bc33a..fd1a94e16d7 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/lib/Sema/Sema.cpp
@@ -96,7 +96,6 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
ValueWithBytesObjCTypeMethod(nullptr),
NSArrayDecl(nullptr), ArrayWithObjectsMethod(nullptr),
NSDictionaryDecl(nullptr), DictionaryWithObjectsMethod(nullptr),
- MSAsmLabelNameCounter(0),
GlobalNewDeleteDeclared(false),
TUKind(TUKind),
NumSFINAEErrors(0),
OpenPOWER on IntegriCloud