llvm-project/lldb
Fangrui Song cdae6d7711 [lldb] Fix one leak in reproducer
Use a variable of static storage duration to reference an intentionally
leaked variable. A static data area is in the GC-set of various leak
checkers.

This fixes 3 `check-lldb-shell` tests in a `-DLLVM_USE_SANITIZER={Leaks,Address}` build,
e.g. `test/Shell/Reproducer/TestHomeDir.test`

Differential Revision: https://reviews.llvm.org/D100806
2021-04-19 19:39:10 -07:00
..
bindings Revert "[lldb/Plugins] Add ScriptedProcess Process Plugin" 2021-03-24 21:31:16 +01:00
cmake [lldb] Remove XPCServices symlinking 2021-03-01 11:23:46 -08:00
docs [lldb] Improve the documentation (#42017) 2021-04-08 10:58:02 -07:00
examples [lldb] Support "absolute memory address" images in crashlog.py 2021-04-19 10:27:11 -07:00
include/lldb [lldb] Remove a superfluous trailing semicolon, fixing warnings. NFC. 2021-04-18 15:56:18 +03:00
packages/Python [lldb] Simplify output for skipped categories in dotest.py 2021-04-14 18:50:48 -07:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source [lldb] Fix demangler leaks in the DWARF AST parser 2021-04-19 16:36:54 -07:00
test [lldb] Stop unsetting LLDB_DEBUGSERVER_PATH from TestLaunchProcessPosixSpawn 2021-04-19 12:28:22 -07:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [lldb] Fix one leak in reproducer 2021-04-19 19:39:10 -07:00
unittests [lldb] Fix incorrect test data in FileSpecTest.IsRelative 2021-04-15 12:42:47 +02:00
utils Reapply "[lldb/test] Automatically find debug servers to test" 2021-02-21 20:47:47 +01:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt [CMake] Remove dead code setting policies to NEW 2021-01-19 17:19:36 +02:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py