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
This commit is contained in:
Eric Christopher
2012-07-27 22:00:05 +00:00
parent c16bf79303
commit c23b933d5f
12 changed files with 71 additions and 29 deletions

View File

@ -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.