[PATCH] D62635: Add enums as global variables in the IR metadata.
Amy Huang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 29 16:43:42 PDT 2019
akhuang created this revision.
akhuang added a reviewer: rnk.
Herald added subscribers: llvm-commits, cfe-commits, aprantl.
Herald added projects: clang, LLVM.
Keeps track of the enums that were used by saving them as DIGlobalVariables,
since CodeView emits debug info for global constants.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D62635
Files:
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-enum.cpp
llvm/test/DebugInfo/COFF/global-constants.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62635.202079.patch
Type: text/x-patch
Size: 13333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190529/692cf955/attachment.bin>
More information about the cfe-commits
mailing list