diff options
author | Vedant Kumar <vsk@apple.com> | 2018-04-12 20:58:24 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-04-12 20:58:24 +0000 |
commit | 65b0d4df200d407095b7a89f71bb674608d2da17 (patch) | |
tree | 69e382fa736c1e80bb3f4c627b30f02892264768 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 49331246b68459daa3f66c076d553e6168a67650 (diff) | |
download | bcm5719-llvm-65b0d4df200d407095b7a89f71bb674608d2da17.tar.gz bcm5719-llvm-65b0d4df200d407095b7a89f71bb674608d2da17.zip |
[DebugInfo] Create merged locations for instructions other than calls
This lifts a restriction on DILocation::getMergedLocation(), allowing it
to create merged locations for instructions other than calls.
Instruction::applyMergedLocation() now defaults to creating merged
locations for all instructions.
The default behavior of getMergedLocation() is unchanged: callers which
invoke it directly are unaffected.
This change will enable a follow-up Mem2Reg fix which improves crash
reporting.
Differential Revision: https://reviews.llvm.org/D45396
llvm-svn: 329955
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions