llvm-project/llvm/unittests/DebugInfo
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
..
CodeView [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
DWARF Revert "Remove the dependency between lib/DebugInfoDWARF and MC." 2022-10-06 14:58:34 -07:00
GSYM [llvm] Use has_value instead of hasValue (NFC) 2022-07-12 22:25:42 -07:00
LogicalView [llvm-debuginfo-analyzer] Fix memory leak reported by sanitizers. 2022-11-02 06:07:33 +00:00
MSF [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
PDB [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
Symbolizer [Symbolize] Parse multi-line markup elements. 2022-06-22 10:00:43 -07:00
CMakeLists.txt Recommit [llvm-debuginfo-analyzer] (02/09) - Driver and documentation 2022-10-18 08:39:26 +01:00