[all-commits] [llvm/llvm-project] fccea7: [NFC] Introduce a `LateInitialize()` method to `Sy...
danliew via All-commits
all-commits at lists.llvm.org
Thu Apr 16 17:26:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fccea7f372cbd33376d2c776f34a0c6925982981
https://github.com/llvm/llvm-project/commit/fccea7f372cbd33376d2c776f34a0c6925982981
Author: Dan Liew <dan at su-root.co.uk>
Date: 2020-04-16 (Thu, 16 Apr 2020)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cpp
Log Message:
-----------
[NFC] Introduce a `LateInitialize()` method to `SymbolizerTool` that is called during the LateInitialize stage of the sanitizer runtimes.
Summary:
This is implemented by adding a `Symbolizer::LateInitializeTools()`
method that iterates over the registered tools and calls the
`LateInitialize()` method on them.
`Symbolizer::LateInitializeTools()` is now called from the various
`Symbolizer::LateInitialize()` implementations.
The default implementation of `SymbolizerTool::LateInitialize()`
does nothing so this change should be NFC.
This change allows `SymbolizerTool` implementations to perform
any initialization that they need to perform at the
LateInitialize stage of a sanitizer runtime init.
rdar://problem/58789439
Reviewers: kubamracek, yln, vitalybuka, cryptoad, phosek, rnk
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D78178
More information about the All-commits
mailing list