[PATCH] D30378: [DebugInfo] [DWARFv5] Collect calling convention info for C++ types during codegen

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 27 13:36:21 PST 2017


aprantl added inline comments.


================
Comment at: lib/CodeGen/CGDebugInfo.cpp:955-957
+    // DWARFv5 doesn't specify explicit DW_CC_* value for this case,
+    // thus we just return 'normal' here.
+    return llvm::dwarf::DW_CC_normal;
----------------
dblaikie wrote:
> Could you file a bug/feature request with the DWARF committee? & maybe we could/should use an implementation defined extension value here? (assuming the DW_CC set has an implementation defined space - which I really hope it does)
Plenty:
DW_CC_lo_user   0x40
DW_CC_hi_user   0xff


https://reviews.llvm.org/D30378





More information about the cfe-commits mailing list