[PATCH] D37529: [codeview] omit debug locations for nested exprs unless column info enabled

Bob Haarman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 17:19:47 PDT 2017


inglorion updated this revision to Diff 114465.
inglorion added a comment.

Of course, ApplyDebugLocation is also a perfectly legitimate way to add a debug location to nodes that are not nested inside nodes that already have a location. I updated the diff so that we do end up applying the location in such cases.


https://reviews.llvm.org/D37529

Files:
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/lib/CodeGen/CodeGenModule.h
  clang/test/CodeGenCXX/debug-info-nested-exprs.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37529.114465.patch
Type: text/x-patch
Size: 10947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170909/97594831/attachment.bin>


More information about the cfe-commits mailing list