mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Move the initialization of the bounds checking pass. The pass itself
moved earlier. This fixes some layering issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,11 +20,12 @@ using namespace llvm;
|
|||||||
/// initializeInstrumentation - Initialize all passes in the TransformUtils
|
/// initializeInstrumentation - Initialize all passes in the TransformUtils
|
||||||
/// library.
|
/// library.
|
||||||
void llvm::initializeInstrumentation(PassRegistry &Registry) {
|
void llvm::initializeInstrumentation(PassRegistry &Registry) {
|
||||||
|
initializeAddressSanitizerPass(Registry);
|
||||||
|
initializeBoundsCheckingPass(Registry);
|
||||||
initializeEdgeProfilerPass(Registry);
|
initializeEdgeProfilerPass(Registry);
|
||||||
|
initializeGCOVProfilerPass(Registry);
|
||||||
initializeOptimalEdgeProfilerPass(Registry);
|
initializeOptimalEdgeProfilerPass(Registry);
|
||||||
initializePathProfilerPass(Registry);
|
initializePathProfilerPass(Registry);
|
||||||
initializeGCOVProfilerPass(Registry);
|
|
||||||
initializeAddressSanitizerPass(Registry);
|
|
||||||
initializeThreadSanitizerPass(Registry);
|
initializeThreadSanitizerPass(Registry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ using namespace llvm;
|
|||||||
void llvm::initializeScalarOpts(PassRegistry &Registry) {
|
void llvm::initializeScalarOpts(PassRegistry &Registry) {
|
||||||
initializeADCEPass(Registry);
|
initializeADCEPass(Registry);
|
||||||
initializeBlockPlacementPass(Registry);
|
initializeBlockPlacementPass(Registry);
|
||||||
initializeBoundsCheckingPass(Registry);
|
|
||||||
initializeCodeGenPreparePass(Registry);
|
initializeCodeGenPreparePass(Registry);
|
||||||
initializeConstantPropagationPass(Registry);
|
initializeConstantPropagationPass(Registry);
|
||||||
initializeCorrelatedValuePropagationPass(Registry);
|
initializeCorrelatedValuePropagationPass(Registry);
|
||||||
|
|||||||
Reference in New Issue
Block a user