[PATCH] D81131: [DebugInfo] Fix assertion for extern void type

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 5 23:16:26 PDT 2020


yonghong-song updated this revision to Diff 268995.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.
Herald added subscribers: llvm-commits, hiraditya, aprantl.
Herald added a project: LLVM.

instead of skipping generating debuginfo for "extern void var_name", do generate debuginfo and skip emitting dwarf types for it.
cc @dblaikie


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81131/new/

https://reviews.llvm.org/D81131

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/test/DebugInfo/BPF/extern-void.ll
  llvm/test/DebugInfo/BPF/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81131.268995.patch
Type: text/x-patch
Size: 5751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200606/2608a72d/attachment-0001.bin>


More information about the cfe-commits mailing list