diff options
| author | Greg Clayton <gclayton@apple.com> | 2017-05-08 21:29:17 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2017-05-08 21:29:17 +0000 |
| commit | 58a2e0d90b569eb8acf6cfecaeef5fe5ba4aee00 (patch) | |
| tree | 017bf932e9947d0fd723bf9a4026ef43203dcbc3 /llvm/lib/DebugInfo/DWARF | |
| parent | 3b52dbd9349f0e8e2536298848793cb3884d6de4 (diff) | |
| download | bcm5719-llvm-58a2e0d90b569eb8acf6cfecaeef5fe5ba4aee00.tar.gz bcm5719-llvm-58a2e0d90b569eb8acf6cfecaeef5fe5ba4aee00.zip | |
Add const to "DWARFDie &Die" in a few functions as they can't change the DWARFDie.
llvm-svn: 302471
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp b/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp index ec5fb08db87..8a544296f65 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp @@ -23,7 +23,7 @@ using namespace llvm; using namespace dwarf; using namespace object; -void DWARFVerifier::verifyDebugInfoAttribute(DWARFDie &Die, +void DWARFVerifier::verifyDebugInfoAttribute(const DWARFDie &Die, DWARFAttribute &AttrValue) { const auto Attr = AttrValue.Attr; switch (Attr) { @@ -68,7 +68,7 @@ void DWARFVerifier::verifyDebugInfoAttribute(DWARFDie &Die, } } -void DWARFVerifier::verifyDebugInfoForm(DWARFDie &Die, +void DWARFVerifier::verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue) { const auto Form = AttrValue.Value.getForm(); switch (Form) { |

