diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-10-02 15:55:11 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-10-02 15:55:11 +0000 |
commit | 6b550d45f492bb21069c2ccdc8561379176def56 (patch) | |
tree | 18c4445e49581d18183ddbc70705cf771eb8e26a /lib/sanitizer_common/sanitizer_linux_libcdep.cc | |
parent | 4969c048f4eccc701463012626a3fc680bdcf32b (diff) |
Revert "Add support for custom loaders to the sanitizer symbolizer"
This reverts commit r314671, which hangs on the gcc sanitizer buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_linux_libcdep.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_linux_libcdep.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/lib/sanitizer_common/sanitizer_linux_libcdep.cc index c25b5610e..0f420875d 100644 --- a/lib/sanitizer_common/sanitizer_linux_libcdep.cc +++ b/lib/sanitizer_common/sanitizer_linux_libcdep.cc @@ -488,17 +488,6 @@ void ListOfModules::init() { } } -// When a custom loader is used, dl_iterate_phdr may not contain the full -// list of modules. Allow callers to fall back to using procmaps. -void ListOfModules::fallbackInit() { - if (!requiresProcmaps()) { - clearOrInit(); - procmapsInit(&modules_); - } else { - clear(); - } -} - // getrusage does not give us the current RSS, only the max RSS. // Still, this is better than nothing if /proc/self/statm is not available // for some reason, e.g. due to a sandbox. |