diff options
author | Sterling Augustine <saugustine@google.com> | 2020-03-19 17:23:39 -0700 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2020-03-19 17:25:05 -0700 |
commit | 6343526d6400379011504e422b744b5a71903b7d (patch) | |
tree | ed56930d44f96e147252b1ad41cbfc4105fc3b75 /llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | |
parent | a3f974f3c3321d602a49f8ada3d3d4dd34db792a (diff) | |
download | llvm-6343526d6400379011504e422b744b5a71903b7d.zip llvm-6343526d6400379011504e422b744b5a71903b7d.tar.gz llvm-6343526d6400379011504e422b744b5a71903b7d.tar.bz2 |
Revert "Cleanup the plumbing for DILineInfoSpecifier. [NFC]"
This broke lldb. Will fix and resubmit.
This reverts commit 98ff6eb679cd5a2556d990d3d629e6c03c1da6a0.
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp index cf2fb53..2ffad82 100644 --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp @@ -1324,12 +1324,7 @@ TEST_F(DebugLineBasicFixture, PrintPathsProperly) { EXPECT_TRUE((*ExpectedLineTable) ->Prologue.getFileNameByIndex( 1, CompDir, - DILineInfoSpecifier::FileLineInfoKind::RawValue, Result)); - EXPECT_TRUE((*ExpectedLineTable) - ->Prologue.getFileNameByIndex( - 1, CompDir, - DILineInfoSpecifier::FileLineInfoKind::BaseNameOnly, - Result)); + DILineInfoSpecifier::FileLineInfoKind::Default, Result)); EXPECT_STREQ(Result.c_str(), "b file"); EXPECT_TRUE((*ExpectedLineTable) ->Prologue.getFileNameByIndex( |