diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-10-14 17:20:18 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-10-14 17:20:18 +0000 |
commit | 3b43447619d815e1918e683318538a6f5cde087a (patch) | |
tree | a63dd5264305aa6c2daf3a19d613dd681549b1d3 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 64ab4de44339d84e8ecf578e260b68aeb142187b (diff) | |
download | llvm-3b43447619d815e1918e683318538a6f5cde087a.zip llvm-3b43447619d815e1918e683318538a6f5cde087a.tar.gz llvm-3b43447619d815e1918e683318538a6f5cde087a.tar.bz2 |
CodeGen: correct block mangling in ObjC
Mangling for blocks defined within blocks in an ObjectiveC context were also
broken by SVN r219393. Because the code in mangleName assumed that the code was
either C or C++, we would trigger assertions when trying to mangle the inner
blocks in an ObjectiveC context.
Add a test and use the ObjectiveC specific mangling when dealing with an
ObjectiveC method declaration.
llvm-svn: 219697
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions