[llvm-commits] [llvm] r160611 - in /llvm/trunk/lib/Transforms: Instrumentation/Instrumentation.cpp Scalar/Scalar.cpp
Nuno Lopes
nunoplopes at sapo.pt
Mon Jul 23 08:29:22 PDT 2012
D'oh, my bad.. Thanks Chandler!
Nuno
Quoting Chandler Carruth <chandlerc at gmail.com>:
> Author: chandlerc
> Date: Sun Jul 22 00:19:32 2012
> New Revision: 160611
>
> URL: http://llvm.org/viewvc/llvm-project?rev=160611&view=rev
> Log:
> Move the initialization of the bounds checking pass. The pass itself
> moved earlier. This fixes some layering issues.
>
> Modified:
> llvm/trunk/lib/Transforms/Instrumentation/Instrumentation.cpp
> llvm/trunk/lib/Transforms/Scalar/Scalar.cpp
>
> Modified: llvm/trunk/lib/Transforms/Instrumentation/Instrumentation.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/Instrumentation.cpp?rev=160611&r1=160610&r2=160611&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Instrumentation/Instrumentation.cpp (original)
> +++ llvm/trunk/lib/Transforms/Instrumentation/Instrumentation.cpp
> Sun Jul 22 00:19:32 2012
> @@ -20,11 +20,12 @@
> /// initializeInstrumentation - Initialize all passes in the TransformUtils
> /// library.
> void llvm::initializeInstrumentation(PassRegistry &Registry) {
> + initializeAddressSanitizerPass(Registry);
> + initializeBoundsCheckingPass(Registry);
> initializeEdgeProfilerPass(Registry);
> + initializeGCOVProfilerPass(Registry);
> initializeOptimalEdgeProfilerPass(Registry);
> initializePathProfilerPass(Registry);
> - initializeGCOVProfilerPass(Registry);
> - initializeAddressSanitizerPass(Registry);
> initializeThreadSanitizerPass(Registry);
> }
>
>
> Modified: llvm/trunk/lib/Transforms/Scalar/Scalar.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/Scalar.cpp?rev=160611&r1=160610&r2=160611&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Scalar/Scalar.cpp (original)
> +++ llvm/trunk/lib/Transforms/Scalar/Scalar.cpp Sun Jul 22 00:19:32 2012
> @@ -29,7 +29,6 @@
> void llvm::initializeScalarOpts(PassRegistry &Registry) {
> initializeADCEPass(Registry);
> initializeBlockPlacementPass(Registry);
> - initializeBoundsCheckingPass(Registry);
> initializeCodeGenPreparePass(Registry);
> initializeConstantPropagationPass(Registry);
> initializeCorrelatedValuePropagationPass(Registry);
>
More information about the llvm-commits
mailing list