[PATCH] D37428: Debug info: Fixed faulty debug locations for attributed statements

Karl-Johan Karlsson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 5 00:22:38 PDT 2017


Ka-Ka updated this revision to Diff 113803.
Ka-Ka edited the summary of this revision.
Ka-Ka added a reviewer: dblaikie.
Ka-Ka added a comment.

I updated the testcase according to what David Blaikie suggested.
I also rewrote to code to be a bit more robust and avoid emitting unnecessary stoppoints.


https://reviews.llvm.org/D37428

Files:
  lib/CodeGen/CGStmt.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/debug-info-attributed-stmt.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37428.113803.patch
Type: text/x-patch
Size: 4188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170905/83208e01/attachment.bin>


More information about the cfe-commits mailing list