mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
move the bounds checking pass to the instrumentation folder, where it belongs. I dunno why in the world I dropped it in the Scalar folder in the first place.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e288cd100f
commit
78435f6bb7
@ -38,6 +38,13 @@ ModulePass *createAddressSanitizerPass();
|
||||
// Insert ThreadSanitizer (race detection) instrumentation
|
||||
FunctionPass *createThreadSanitizerPass();
|
||||
|
||||
|
||||
// BoundsChecking - This pass instruments the code to perform run-time bounds
|
||||
// checking on loads, stores, and other memory intrinsics.
|
||||
// Penalty is the maximum run-time that is acceptable for the user.
|
||||
//
|
||||
FunctionPass *createBoundsCheckingPass(unsigned Penalty = 5);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -328,14 +328,6 @@ Pass *createLowerAtomicPass();
|
||||
//
|
||||
Pass *createCorrelatedValuePropagationPass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// BoundsChecking - This pass instruments the code to perform run-time bounds
|
||||
// checking on loads, stores, and other memory intrinsics.
|
||||
// Penalty is the maximum run-time that is acceptable for the user.
|
||||
//
|
||||
FunctionPass *createBoundsCheckingPass(unsigned Penalty = 5);
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// ObjCARCAPElim - ObjC ARC autorelease pool elimination.
|
||||
|
@ -13,7 +13,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "bounds-checking"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include "llvm/IRBuilder.h"
|
||||
#include "llvm/Intrinsics.h"
|
||||
#include "llvm/Pass.h"
|
||||
@ -25,6 +24,7 @@
|
||||
#include "llvm/Support/TargetFolder.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/Transforms/Instrumentation.h"
|
||||
using namespace llvm;
|
||||
|
||||
static cl::opt<bool> SingleTrapBB("bounds-checking-single-trap",
|
@ -1,5 +1,6 @@
|
||||
add_llvm_library(LLVMInstrumentation
|
||||
AddressSanitizer.cpp
|
||||
BoundsChecking.cpp
|
||||
EdgeProfiling.cpp
|
||||
FunctionBlackList.cpp
|
||||
GCOVProfiling.cpp
|
||||
|
@ -1,7 +1,6 @@
|
||||
add_llvm_library(LLVMScalarOpts
|
||||
ADCE.cpp
|
||||
BasicBlockPlacement.cpp
|
||||
BoundsChecking.cpp
|
||||
CodeGenPrepare.cpp
|
||||
ConstantProp.cpp
|
||||
CorrelatedValuePropagation.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user