[PATCH] D83702: [AIX]Generate debug info for static init related functions

Xiangling Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 13 11:04:25 PDT 2020


Xiangling_L created this revision.
Xiangling_L added reviewers: hubert.reinterpretcast, yusra.syeda, jasonliu.
Herald added subscribers: cfe-commits, aprantl.
Herald added a project: clang.

Set the debug location for static init related functions on AIX(__dtor and __finalize) so we can generate valid debug info by invoking `-g` with clang or `-debug-info-kind=limited` with clang_cc1.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83702

Files:
  clang/lib/CodeGen/CGDeclCXX.cpp
  clang/lib/CodeGen/ItaniumCXXABI.cpp
  clang/test/CodeGenCXX/aix-static-init-debug-info.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83702.277494.patch
Type: text/x-patch
Size: 5017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200713/3b4c3e55/attachment-0001.bin>


More information about the cfe-commits mailing list