Debug Info: use module flag to set up Dwarf version.

Correctly handles ref_addr depending on the Dwarf version. Emit Dwarf with
version from module flag.

TODO: turn on/off features depending on the Dwarf version.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Manman Ren
2013-07-02 23:40:10 +00:00
parent d3b98530c5
commit 0e6783feed
6 changed files with 73 additions and 6 deletions

View File

@@ -121,6 +121,8 @@ namespace llvm {
public:
virtual ~AsmPrinter();
const DwarfDebug *getDwarfDebug() const { return DD; }
/// isVerbose - Return true if assembly output should contain comments.
///
bool isVerbose() const { return VerboseAsm; }