[all-commits] [llvm/llvm-project] cddea6: [llvm-debuginfo-analyzer] (07/09) - Compare elements
Carlos Alberto Enciso via All-commits
all-commits at lists.llvm.org
Mon Oct 24 11:25:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cddea67663655591b3d650d81d6546abbdc50ae5
https://github.com/llvm/llvm-project/commit/cddea67663655591b3d650d81d6546abbdc50ae5
Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
Date: 2022-10-24 (Mon, 24 Oct 2022)
Changed paths:
M llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp
Log Message:
-----------
[llvm-debuginfo-analyzer] (07/09) - Compare elements
The test case 'CompareElements' caused a failure in:
https://lab.llvm.org/buildbot#builders/5/builds/28502
https://lab.llvm.org/buildbot#builders/168/builds/9671
SUMMARY: AddressSanitizer: 2144 byte(s) leaked in 14 allocation(s).
The 'Insert' function conditionally adds the 'Child' logical
element to a logical scope. The not added logical elements,
caused the memory leak. Just record them to be destroyed
when the logical reader is destroyed.
Changed 'EXPECT_NE' with 'ASSERT_NE'.
Missing in the main review.
More information about the All-commits
mailing list