[PATCH] D91083: [AsmPrinter] fix -disable-debug-info option

Jameson Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 9 08:00:11 PST 2020


vtjnash created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
vtjnash requested review of this revision.
Herald added a subscriber: ormris.

This option was in a rather convoluted place, causing global parameters
to be set in awkward and undesirable ways to try to account for it
indirectly. Add tests for the -disable-debug-info option and ensure we
don't print unintended markers from unintended places.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91083

Files:
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/test/CodeGen/Generic/disable-debug-info-print.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91083.303875.patch
Type: text/x-patch
Size: 5548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201109/9ed8b373/attachment.bin>


More information about the llvm-commits mailing list