summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-06-20 00:25:24 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-06-20 00:25:24 +0000
commitea2605dc1a08114650fc2910046a6191ceb7481d (patch)
tree616f30de34d0b1f3d7c1637ac22044ab7a38fd1a /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parentb2d617de2cb31052a5f06ad57c64268c392c26c9 (diff)
downloadbcm5719-llvm-ea2605dc1a08114650fc2910046a6191ceb7481d.tar.gz
bcm5719-llvm-ea2605dc1a08114650fc2910046a6191ceb7481d.zip
DebugInfo: don't use location lists when the location covers the whole function anyway
Fix up three tests - one that was relying on abbreviation number, another relying on a location list in this case (& testing raw asm, changed that to use dwarfdump on the debug_info now that that's where the location is), and another which was added in r184368 - exposing a bug in that fix that is exposed when we emit the location inline rather than through a location list. Fix that bug while I'm here. llvm-svn: 184387
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index e1af5724024..36f5652ed68 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -257,7 +257,7 @@ public:
/// addAddress - Add an address attribute to a die based on the location
/// provided.
void addAddress(DIE *Die, unsigned Attribute,
- const MachineLocation &Location);
+ const MachineLocation &Location, bool Indirect = false);
/// addConstantValue - Add constant value entry in variable DIE.
bool addConstantValue(DIE *Die, const MachineOperand &MO, DIType Ty);
OpenPOWER on IntegriCloud