Commit 296d4ae
authored
NFC: Add LSAN leak suppression to ASAN pipeline (#7503)
Address-sanitizer reports a leak coming from the dynamic shared library
loading code, though dlopen() is paired with dlclose(). This leak
doesn't manifest on main yet because dxc adds dxcompiler directly to
target_link_libraries (which it shouldn't have to), and dxil is loaded
within that library. A PR to remove dxil loading from dxcompiler exposes
the leak when dxc loads dxil dynamically.
This change adds a suppressions file for LSAN to suppress the leak in
the loader code that happens under call_init. This also changes the
Linux_Clang_Release build to RelWithDebInfo so symbols are present.1 parent 8a8b29f commit 296d4ae
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments