summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-05-25 14:15:08 +0000
committerNico Weber <nicolasweber@gmx.de>2016-05-25 14:15:08 +0000
commitfb42078d7c1b1146483576ab9ef8b54ff0feb385 (patch)
tree63a4100ec4ba9314b8cec53d9041defe6ba09ef4 /lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py
parent0e871f0b66438abaec77f22c05e3ec41dd34234c (diff)
downloadbcm5719-llvm-fb42078d7c1b1146483576ab9ef8b54ff0feb385.tar.gz
bcm5719-llvm-fb42078d7c1b1146483576ab9ef8b54ff0feb385.zip
Fix mangled name of method with ns_consumed parameters.
When a function/method use a parameter with "ns_consumed" attribute, ensure that the mangled name is the same whether -fobjc-arc is used or not. Since "ns_consumed" attribute is generally used to inform ARC that a function/method does sink the reference, it mean it is usually implemented in a compilation unit compiled without -fobjc-arc but used form a compilation unit compiled with it. Originally found while trying to use "ns_consumed" attribute in an Objective-C++ file in Chromium (http://crbug.com/599980) where it caused a linker error. Regression introduced by revision 262278 (previously the attribute was incorrectly not part of the mangled name). Patch from Sylvain Defresne <sdefresne@chromium.org>! http://reviews.llvm.org/D20113 llvm-svn: 270702
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud