[PATCH] D33735: [DebugInfo] Add ThisOrSelf attribute for emission of FlagObjectPointer.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 31 11:44:45 PDT 2017
ABataev created this revision.
If the first parameter of the function is the ImplicitParamDecl codegen
automatically marks it as an implicit argument with `this` or `self`
pointer. To fix this problem Implicit ThisOrSelfAttr is added. This
attribute is used to mark real `this` or `self` pointers only.
https://reviews.llvm.org/D33735
Files:
include/clang/Basic/Attr.td
lib/AST/DeclObjC.cpp
lib/CodeGen/CGCXXABI.cpp
lib/CodeGen/CGDebugInfo.cpp
test/CodeGen/captured-statements.c
test/CodeGenCXX/captured-statements.cpp
test/Misc/ast-dump-decl.m
test/Misc/pragma-attribute-objc-subject-match-rules.m
test/Misc/pragma-attribute-objc.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33735.100901.patch
Type: text/x-patch
Size: 8156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170531/e378d7bb/attachment.bin>
More information about the cfe-commits
mailing list