[PATCH] D136333: [llvm-debuginfo-analyzer] (04/09) - Locations and ranges - Test case (AddressSanitizer: leaked in allocations)
Carlos Alberto Enciso via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 20 05:50:02 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa401ce441694: [llvm-debuginfo-analyzer] (04/09) - Locations and ranges (authored by CarlosAlbertoEnciso).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136333/new/
https://reviews.llvm.org/D136333
Files:
llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp
Index: llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp
===================================================================
--- llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp
+++ llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp
@@ -349,8 +349,6 @@
// Locations.
LVLocation *LocationOne = nullptr;
LVLocation *LocationTwo = nullptr;
- LVLocation *LocationThree = nullptr;
- LVLocation *LocationFour = nullptr;
LVLocation *LocationFive = nullptr;
LVLocation *LocationSix = nullptr;
@@ -393,8 +391,6 @@
// Create the logical locations.
LocationOne = create<LVLocation>();
LocationTwo = create<LVLocation>();
- LocationThree = create<LVLocation>();
- LocationFour = create<LVLocation>();
LocationFive = create<LVLocation>();
LocationSix = create<LVLocation>();
}
@@ -480,14 +476,6 @@
EXPECT_STREQ(LocationTwo->getIntervalInfo().c_str(),
" Lines 200:600 [0x0000005200:0x0000006100]");
- set(LocationThree, LineThree, LineFive, 0x5400, 0x5800);
- EXPECT_STREQ(LocationThree->getIntervalInfo().c_str(),
- " Lines 300:500 [0x0000005400:0x0000005800]");
-
- set(LocationFour, LineFour, LineFour, 0x5600, 0x5700);
- EXPECT_STREQ(LocationFour->getIntervalInfo().c_str(),
- " Lines 400:400 [0x0000005600:0x0000005700]");
-
set(LocationFive, LineFive, LineFive, 0x5800, 0x5900);
EXPECT_STREQ(LocationFive->getIntervalInfo().c_str(),
" Lines 500:500 [0x0000005800:0x0000005900]");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136333.469192.patch
Type: text/x-patch
Size: 1514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221020/3e374796/attachment.bin>
More information about the llvm-commits
mailing list