diff options
author | Eric Christopher <echristo@apple.com> | 2012-07-27 22:00:05 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-07-27 22:00:05 +0000 |
commit | c23b933d5f8be9b51a1d22e717c0311f65f87dcd (patch) | |
tree | 13941b9277e77b70fea5995ede4c4b98ca29c07e /lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | c16bf79303ad8c84c5dd3c76e143cd2145539834 (diff) |
Add a DW_AT_high_pc for CUs that are a single address range. Update
all tests accordingly.
Fixes PR13351.
Patch by shinichiro hamaji!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index d1d6512655..5b8f61c52e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -307,6 +307,9 @@ class DwarfDebug { // table for the same directory as DW_at_comp_dir. StringRef CompilationDir; + // True if the current module has non text section. + bool HasNonTextSection; + private: /// assignAbbrevNumber - Define a unique number for the abbreviation. |