summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplateDeduction.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-01-20 19:49:14 +0000
committerHal Finkel <hfinkel@anl.gov>2014-01-20 19:49:14 +0000
commita69e5b8b9d32801ed0db5fe2c112a9f81808ddee (patch)
treea534433ea92092b71645be9f09565cc34998e77d /clang/lib/Sema/SemaTemplateDeduction.cpp
parent450d1661be35e65ad77c0d45613e19e7a5d4b2f1 (diff)
downloadbcm5719-llvm-a69e5b8b9d32801ed0db5fe2c112a9f81808ddee.tar.gz
bcm5719-llvm-a69e5b8b9d32801ed0db5fe2c112a9f81808ddee.zip
Update StackProtector when coloring merges stack slots
StackProtector keeps a ValueMap of alloca instructions to layout kind tags for use by PEI and other later passes. When stack coloring replaces one alloca with a bitcast to another one, the key replacement in this map does not work. Instead, provide an interface to manage this updating directly. This seems like an improvement over the old behavior, where the layout map would not get updated at all when the stack slots were merged. In practice, however, there is likely no observable difference because PEI only did anything special with 'large array' kinds, and if one large array is merged with another, than the replacement should already have been a large array. This is an attempt to unbreak the clang-x86_64-darwin11-RA builder. llvm-svn: 199684
Diffstat (limited to 'clang/lib/Sema/SemaTemplateDeduction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud