[all-commits] [llvm/llvm-project] 9ae87b: [Instrumentation] Share InstrumentationIRBuilder b...
Marco Elver via All-commits
all-commits at lists.llvm.org
Fri May 6 00:15:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ae87b597351765ad4a925abffd208a94b0f3a21
https://github.com/llvm/llvm-project/commit/9ae87b597351765ad4a925abffd208a94b0f3a21
Author: Marco Elver <elver at google.com>
Date: 2022-05-06 (Fri, 06 May 2022)
Changed paths:
M llvm/include/llvm/Transforms/Instrumentation.h
M llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
Log Message:
-----------
[Instrumentation] Share InstrumentationIRBuilder between TSan and SanCov
Factor our InstrumentationIRBuilder and share it between ThreadSanitizer
and SanitizerCoverage. Simplify its usage at the same time (use function
of passed Instruction or BasicBlock).
This class may be used in other instrumentation passes in future.
NFCI.
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D125038
More information about the All-commits
mailing list