]> granicus.if.org Git - clang/commit
[CodeGen] Replace '@' characters in block descriptors' symbol names with
authorAkira Hatanaka <ahatanaka@apple.com>
Sat, 29 Dec 2018 17:28:30 +0000 (17:28 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Sat, 29 Dec 2018 17:28:30 +0000 (17:28 +0000)
commit30abdb44ab9b2503694a58bb409e8a8ab898cc62
tree0ab07b66bf7e041414ef132495907c1034438a5e
parent293aad519f86c5e3b2961093080f380393f4782a
[CodeGen] Replace '@' characters in block descriptors' symbol names with
'\1'.

'@' can't be used in block descriptors' symbol names since it is
reserved on ELF platforms as a separator between symbol names and symbol
versions.

See the discussion here: https://reviews.llvm.org/D50783.

Differential Revision: https://reviews.llvm.org/D54539

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350157 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.cpp
test/CodeGenObjC/block-desc-str.m [new file with mode: 0644]
test/CodeGenObjCXX/block-nested-in-lambda.mm