aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2021-06-24 11:45:52 -0700
committerAkira Hatanaka <ahatanaka@apple.com>2021-06-24 11:45:52 -0700
commit8db0dbbe2c0544c38f33cf64b4cdd5135d524b23 (patch)
tree205370f13a4a9c7d26b5543c94b4bb720a358b76 /llvm/lib/Support/StringRef.cpp
parent4867641f3041f7b2530336edfaf6655f98d2dca2 (diff)
downloadllvm-8db0dbbe2c0544c38f33cf64b4cdd5135d524b23.zip
llvm-8db0dbbe2c0544c38f33cf64b4cdd5135d524b23.tar.gz
llvm-8db0dbbe2c0544c38f33cf64b4cdd5135d524b23.tar.bz2
[CodeGen] Don't create fake FunctionDecls when generating block/byref
copy/dispose helper functions We found out that these fake functions would cause clang to crash if the changes proposed in https://reviews.llvm.org/D98799 were made. The original patch was reverted in f681fd927e883301658dcac9a78109ee0aba12a8 because debug locations were missing in the body of the block byref helper functions. This patch fixes the bug by calling CreateArtificial after the calls to StartFunction. Differential Revision: https://reviews.llvm.org/D104082
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions