[PATCH] D61926: Emit global variables as S_CONSTANT records for codeview debug info.

Amy Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 17:45:47 PDT 2019


akhuang created this revision.
akhuang added a reviewer: rnk.
Herald added subscribers: llvm-commits, hiraditya, aprantl.
Herald added a project: LLVM.

This emits S_CONSTANT records for global variables.
Currently this emits records for the global variables already being tracked in the
LLVM IR metadata, which are just constant global variables; we'll also want S_CONSTANTs
for static data members and enums.

Related to https://bugs.llvm.org/show_bug.cgi?id=41615


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61926

Files:
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
  llvm/test/DebugInfo/COFF/global-constants.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61926.199540.patch
Type: text/x-patch
Size: 8143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190515/528ea2e6/attachment.bin>


More information about the llvm-commits mailing list