[PATCH] D67774: [Mangle] Check ExternalASTSource before adding prefix to asm label names
Vedant Kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 19 13:03:00 PDT 2019
vsk created this revision.
vsk added reviewers: teemperor, jasonmolenda, rjmccall.
LLDB may synthesize decls using asm labels. These decls cannot have a
mangle different than the one specified in the label name. I.e., the
mangle-suppression prefix should not be added.
Fixes an expression evaluation failure in lldb's TestVirtual.py on iOS.
rdar://45827323
https://reviews.llvm.org/D67774
Files:
clang/include/clang/AST/ExternalASTSource.h
clang/lib/AST/Mangle.cpp
clang/test/Import/asm-label-mangle/Inputs/asm-label.cpp
clang/test/Import/asm-label-mangle/test.cpp
clang/tools/clang-import-test/clang-import-test.cpp
lldb/include/lldb/Symbol/ClangExternalASTSourceCommon.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67774.220899.patch
Type: text/x-patch
Size: 4461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190919/fcad9ec0/attachment.bin>
More information about the cfe-commits
mailing list