[sanitizer] Make stack traces from dlclose()'d modules more meaningful.
authorSergey Matveev <earthdok@google.com>
Fri, 23 May 2014 16:04:41 +0000 (16:04 +0000)
committerSergey Matveev <earthdok@google.com>
Fri, 23 May 2014 16:04:41 +0000 (16:04 +0000)
commit2be4a2829738b46fd887f911a7ea177baf2092d4
treea429da2acaf516a4703d9cdaecd85642069b1b6a
parent3892013a8abca6b98167bf655a72cd3a385493bb
[sanitizer] Make stack traces from dlclose()'d modules more meaningful.

Previously, they silently omitted PCs belonging to unknown modules. Now we print
(<unknown module>) instead.

llvm-svn: 209522
compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cc [new file with mode: 0644]