[PATCH] D135166: [DebugInfo] getMergedLocation: Maintain the line number if they match

Juan Manuel Martinez CaamaƱo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 01:23:45 PDT 2022


jmmartinez updated this revision to Diff 465999.
jmmartinez added a comment.

- Keep the line and column number from the inlined at instead of setting it to 0


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135166/new/

https://reviews.llvm.org/D135166

Files:
  llvm/lib/IR/DebugInfoMetadata.cpp
  llvm/test/DebugInfo/return-same-line-merge.ll
  llvm/unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135166.465999.patch
Type: text/x-patch
Size: 11116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221007/3953bea8/attachment.bin>


More information about the llvm-commits mailing list