commit | 0ffa8796b2c006cd03f9dce0273e5a099befb870 | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Mon Nov 06 23:15:21 2017 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Mon Nov 06 23:15:21 2017 +0000 |
tree | 0b8be8e61f57a303ea22678926c55d0c7177fd9b | |
parent | b67df9f5a0602b6b67b23e8007629275335b52af [diff] |
[DebugInfo] Unify logic to merge DILocations. NFC. This makes DILocation::getMergedLocation() do what its comment says it does when merging locations for an Instruction: set the common inlineAt scope. This simplifies Instruction::applyMergedLocation() a bit. Testing: check-llvm, check-clang Differential Revision: https://reviews.llvm.org/D39628 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317524 91177308-0d34-0410-b5e6-96231b3b80d8