llvm-project/llvm/unittests/DebugInfo/LogicalView
Carlos Alberto Enciso 9d56d9a95f [llvm-debuginfo-analyzer] Fix memory leak reported by sanitizers.
The sanitizer reported memory leak issues; the command line
used in the test case is:

llvm-debuginfo-analyzer --attribute=level
                        --print=instructions
                        pr-incorrect-instructions-dwarf-clang.o

When dealing with logical instruction lines associated with
an artificial logical scope, skip the process of finding
their enclosing scope. Just add them to the scope.

Create logical debug lines only if the command line specifies:
  --print=lines or --print=elements or --print=all

Reviewed By: jryans, vitalybuka

Differential Revision: https://reviews.llvm.org/D137156
2022-11-02 06:07:33 +00:00
..
Inputs [llvm-debuginfo-analyzer] (08/09) - ELF Reader 2022-10-27 05:37:51 +01:00
CMakeLists.txt [llvm-debuginfo-analyzer] (08/09) - ELF Reader 2022-10-27 13:05:18 +01:00
CommandLineOptionsTest.cpp Recommit [llvm-debuginfo-analyzer] (02/09) - Driver and documentation 2022-10-18 08:39:26 +01:00
CompareElementsTest.cpp [llvm-debuginfo-analyzer] (07/09) - Compare elements 2022-10-24 19:23:44 +01:00
ELFReaderTest.cpp [llvm-debuginfo-analyzer] Fix memory leak reported by sanitizers. 2022-11-02 06:07:33 +00:00
LocationRangesTest.cpp [DebugInfo] Fix MSVC warning: "truncation from 'double' to 'float'" 2022-10-21 10:16:40 +01:00
LogicalElementsTest.cpp [llvm-debuginfo-analyzer] (03/09) - Logical elements 2022-10-20 06:19:20 +01:00
SelectElementsTest.cpp [llvm-debuginfo-analyzer] (05/09) - Select elements 2022-10-21 05:55:09 +01:00
StringPoolTest.cpp Recommit [llvm-debuginfo-analyzer] (02/09) - Driver and documentation 2022-10-18 08:39:26 +01:00
WarningInternalTest.cpp [llvm-debuginfo-analyzer] (06/09) - Warning and internal options 2022-10-24 05:12:57 +01:00