mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Make some DataLayout pointers const.
No functionality change. Just reduces the noise of an upcoming patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -334,7 +334,7 @@ struct AddressSanitizer : public FunctionPass {
|
||||
SmallString<64> BlacklistFile;
|
||||
|
||||
LLVMContext *C;
|
||||
DataLayout *DL;
|
||||
const DataLayout *DL;
|
||||
int LongSize;
|
||||
Type *IntptrTy;
|
||||
ShadowMapping Mapping;
|
||||
@@ -383,7 +383,7 @@ class AddressSanitizerModule : public ModulePass {
|
||||
SetOfDynamicallyInitializedGlobals DynamicallyInitializedGlobals;
|
||||
Type *IntptrTy;
|
||||
LLVMContext *C;
|
||||
DataLayout *DL;
|
||||
const DataLayout *DL;
|
||||
ShadowMapping Mapping;
|
||||
Function *AsanPoisonGlobals;
|
||||
Function *AsanUnpoisonGlobals;
|
||||
|
@@ -164,7 +164,7 @@ class DataFlowSanitizer : public ModulePass {
|
||||
WK_Custom
|
||||
};
|
||||
|
||||
DataLayout *DL;
|
||||
const DataLayout *DL;
|
||||
Module *Mod;
|
||||
LLVMContext *Ctx;
|
||||
IntegerType *ShadowTy;
|
||||
|
@@ -222,7 +222,7 @@ class MemorySanitizer : public FunctionPass {
|
||||
/// \brief Track origins (allocation points) of uninitialized values.
|
||||
bool TrackOrigins;
|
||||
|
||||
DataLayout *DL;
|
||||
const DataLayout *DL;
|
||||
LLVMContext *C;
|
||||
Type *IntptrTy;
|
||||
Type *OriginTy;
|
||||
|
@@ -96,7 +96,7 @@ struct ThreadSanitizer : public FunctionPass {
|
||||
bool addrPointsToConstantData(Value *Addr);
|
||||
int getMemoryAccessFuncIndex(Value *Addr);
|
||||
|
||||
DataLayout *DL;
|
||||
const DataLayout *DL;
|
||||
Type *IntptrTy;
|
||||
SmallString<64> BlacklistFile;
|
||||
OwningPtr<SpecialCaseList> BL;
|
||||
|
Reference in New Issue
Block a user