]> granicus.if.org Git - clang/commit
Skip the asm prefix when storing the name in block info.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 14 May 2009 16:42:16 +0000 (16:42 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 14 May 2009 16:42:16 +0000 (16:42 +0000)
commit49f59ec45bf469c700603a656282cf86f1bce382
treeb79dc2b1eaa0d94fa5f16bb4127e795bb0045028
parent501c5ce63c2ff54c103fbab8c1c45234d5a82a57
Skip the asm prefix when storing the name in block info.
 - Otherwise we emit internal names with embedded '\01' characters,
   which confuses some tools.

 - Ideally all the code which wants to get a "display name" for the
   given function should follow one code path, but this should be a
   monotonic improvement for now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71774 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.h
test/CodeGenObjC/blocks.m