[PATCH] D39628: [DebugInfo] Unify logic to merge DILocations. NFC.

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 19:24:57 PDT 2017


vsk created this revision.

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


https://reviews.llvm.org/D39628

Files:
  include/llvm/IR/DebugInfoMetadata.h
  lib/IR/DebugInfo.cpp
  lib/IR/DebugInfoMetadata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39628.121580.patch
Type: text/x-patch
Size: 4202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171104/4f6f820b/attachment.bin>


More information about the llvm-commits mailing list