[PATCH] D44953: [sanitizer] Remove empty Symbolizer PrepareForSandboxing

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 13:37:13 PDT 2018


cryptoad created this revision.
cryptoad added reviewers: alekseyshl, eugenis, dvyukov, mcgrathr.
Herald added subscribers: Sanitizers, delcypher, kubamracek.

`Symbolizer::PrepareForSandboxing` is empty for all platforms and apparently
has been for a while (https://reviews.llvm.org/D10213). Remove it, and shuffle things around so that the
platform specific code is now in `PlatformPrepareForSandboxing`.

This allows to have one less symbolizer dependency in a common file, which
helps for the upcoming split.

Also remove `SymbolizerPrepareForSandboxing` in tsan_go which appears to not
be used anywhere.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D44953

Files:
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_common_libcdep.cc
  lib/sanitizer_common/sanitizer_fuchsia.cc
  lib/sanitizer_common/sanitizer_posix_libcdep.cc
  lib/sanitizer_common/sanitizer_symbolizer.h
  lib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
  lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
  lib/sanitizer_common/sanitizer_symbolizer_win.cc
  lib/sanitizer_common/sanitizer_win.cc
  lib/tsan/go/tsan_go.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44953.139994.patch
Type: text/x-patch
Size: 6459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180327/68f503c7/attachment.bin>


More information about the llvm-commits mailing list