summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-12-20 00:42:06 +0000
committerChris Bieneman <beanz@apple.com>2016-12-20 00:42:06 +0000
commit891cbcc093f112fb9f4ec839cd286364f4b0bcb0 (patch)
treeeec032705d2c271fe0d7abbc5e71f9b40a9303f8 /llvm/lib/DebugInfo
parentb5b0b23a25bf0a1eb0fc5f5aef8e0afc9301cdd7 (diff)
downloadbcm5719-llvm-891cbcc093f112fb9f4ec839cd286364f4b0bcb0.tar.gz
bcm5719-llvm-891cbcc093f112fb9f4ec839cd286364f4b0bcb0.zip
Revert "[ObjectYAML] Support for DWARF debug_info section"
This reverts commit r290147. This commit is breaking a bot (http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/621). I don't have time to investigate at the moment, so I'll revert for now. llvm-svn: 290148
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp b/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
index e48a6f0981b..b3f1a52e6b7 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
@@ -661,15 +661,3 @@ Optional<ArrayRef<uint8_t>> DWARFFormValue::getAsBlock() const {
return makeArrayRef(Value.data, Value.uval);
}
-Optional<uint64_t> DWARFFormValue::getAsCStringOffset() const {
- if (!isFormClass(FC_String) && Form == DW_FORM_string)
- return None;
- return Value.uval;
-}
-
-Optional<uint64_t> DWARFFormValue::getAsReferenceUVal() const {
- if (!isFormClass(FC_Reference))
- return None;
- return Value.uval;
-}
-
OpenPOWER on IntegriCloud