Skip to content

Commit b63d34a

Browse files
committed
Add comment explaning assumption around symbol loading
1 parent 86b8e93 commit b63d34a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lldb/test/Shell/Commands/command-statistics-dump.test

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# This test validates that statistics generation does not force loading
2+
# symbol tables. In order to avoid other sources of symbol loading we
3+
# create the target without loading dependents and do not actually
4+
# run it. Running the target is a problem because there are various
5+
# instrumentation plugins (e.g. ASAN) that are always enabled and force
6+
# symbol loading. If you see this test start to fail we may have added
7+
# a new source of symbol loading unexpectedly.
8+
9+
# Build a simple test executable.
110
# RUN: %clang_host -g %S/Inputs/main.c -o %t-main.exe
211

312
# When we enable symbol preload and dump stats there should be a non-zero

0 commit comments

Comments
 (0)