aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2016-03-26 00:30:40 +0000
committerSean Callanan <scallanan@apple.com>2016-03-26 00:30:40 +0000
commit47cca78efa07fcf94507e1b84b098f984493cadc (patch)
tree52b9119907cc16e6a7c58eeb912e85cc9ba59bbd /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent7111bb5206c64a38d4e0a03c70bb3878cda50ddc (diff)
downloadllvm-47cca78efa07fcf94507e1b84b098f984493cadc.zip
llvm-47cca78efa07fcf94507e1b84b098f984493cadc.tar.gz
llvm-47cca78efa07fcf94507e1b84b098f984493cadc.tar.bz2
Record all translation units with more than one function in them (e.g., blocks).
Blocks and lambdas have their implementation functions stored in the IR for an expression. If we put the block/lambda into a result variable it needs to stay around. As a heuristic, remember any execution unit that has more than one function in it. <rdar://problem/22864976> llvm-svn: 264483
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions