diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-09-22 18:25:32 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-09-22 18:25:32 +0000 |
commit | 4f099cb2ba6cbd0f29ce983bc14891e395263fa0 (patch) | |
tree | d42478685e0bf631d16dc40e0381c7212719fcf9 /llvm/lib/DebugInfo/DWARFFormValue.cpp | |
parent | ba860d74ba0087a652d218cf8ec7c9d102552b18 (diff) | |
download | bcm5719-llvm-4f099cb2ba6cbd0f29ce983bc14891e395263fa0.tar.gz bcm5719-llvm-4f099cb2ba6cbd0f29ce983bc14891e395263fa0.zip |
Remove dead code
llvm-svn: 191179
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFFormValue.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARFFormValue.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/DebugInfo/DWARFFormValue.cpp b/llvm/lib/DebugInfo/DWARFFormValue.cpp index 48e0d209080..4ae92fc8981 100644 --- a/llvm/lib/DebugInfo/DWARFFormValue.cpp +++ b/llvm/lib/DebugInfo/DWARFFormValue.cpp @@ -483,23 +483,6 @@ uint64_t DWARFFormValue::getReference(const DWARFCompileUnit *cu) const { return die_offset; } -bool -DWARFFormValue::resolveCompileUnitReferences(const DWARFCompileUnit *cu) { - switch (Form) { - case DW_FORM_ref1: - case DW_FORM_ref2: - case DW_FORM_ref4: - case DW_FORM_ref8: - case DW_FORM_ref_udata: - Value.uval += cu->getOffset(); - Form = DW_FORM_ref_addr; - return true; - default: - break; - } - return false; -} - const uint8_t *DWARFFormValue::BlockData() const { if (!isInlinedCStr()) return Value.data; |