diff options
author | Eric Christopher <echristo@gmail.com> | 2014-01-15 00:04:29 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-01-15 00:04:29 +0000 |
commit | 1ad8457570e8641f9729b8cd45d2468bea59a754 (patch) | |
tree | d861d4a0767e8bcb390f5a91cc7e1481f1163ce8 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | e9fab9b0778b2df4480d9cd7fa0d2a3ac4c8bfac (diff) | |
download | bcm5719-llvm-1ad8457570e8641f9729b8cd45d2468bea59a754.tar.gz bcm5719-llvm-1ad8457570e8641f9729b8cd45d2468bea59a754.zip |
Make sure we emit a relocation to the debug_ranges section in the
presence of CU ranges.
llvm-svn: 199276
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 5a211060554..516def804d1 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -458,6 +458,9 @@ class DwarfDebug : public AsmPrinterHandler { // Whether to emit the pubnames/pubtypes sections. bool HasDwarfPubSections; + // Whether or not to use AT_ranges for compilation units. + bool HasCURanges; + // Version of dwarf we're emitting. unsigned DwarfVersion; @@ -733,6 +736,9 @@ public: /// split dwarf proposal support. bool useSplitDwarf() { return HasSplitDwarf; } + /// \brief Returns whether or not to use AT_ranges for compilation units. + bool useCURanges() { return HasCURanges; } + /// Returns the Dwarf Version. unsigned getDwarfVersion() const { return DwarfVersion; } |