Revert "[AsmPrinter] fix -disable-debug-info option"
authorHans Wennborg <hans@chromium.org>
Fri, 13 Nov 2020 12:46:13 +0000 (13:46 +0100)
committerHans Wennborg <hans@chromium.org>
Fri, 13 Nov 2020 12:46:13 +0000 (13:46 +0100)
commit105ed27ed80dd47a9d32e72bbdd2a776a3318f38
treef2c80f18a8bf563dd971f4e313e9f1d5c1a75494
parentd2d59d2be9852b620b982c7304de5d9eaca35404
Revert "[AsmPrinter] fix -disable-debug-info option"

The test fails on Mac, see comment on the code review.

> 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.
>
> Reviewed By: dstenb
>
> Differential Revision: https://reviews.llvm.org/D91083

This reverts commit 9606ef03f03904cec213db031b5ea6fd6052dc5d.
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/CodeGen/Generic/disable-debug-info-print.ll [deleted file]