[PATCH] D79447: [Debug][CodeView] Emit fully qualified names for globals

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 14:03:50 PDT 2020


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

Before this patch, `S_[L|G][THREAD32|DATA32]` records were emitted with a simple name, not the fully qualified name (namespace + class scope). I've simply reused what @akhuang did for `S_CONSTANT`


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79447

Files:
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/test/DebugInfo/COFF/global-constants.ll
  llvm/test/DebugInfo/COFF/global_visibility.ll
  llvm/test/DebugInfo/COFF/globals.ll
  llvm/test/DebugInfo/COFF/types-array-unsized.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79447.262212.patch
Type: text/x-patch
Size: 67832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200505/41957e95/attachment.bin>


More information about the llvm-commits mailing list