mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
Fix typo in variable name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209784 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b18eabd2d8
commit
257670a79d
@ -70,7 +70,7 @@ static const uintptr_t kRetiredStackFrameMagic = 0x45E0360E;
|
|||||||
|
|
||||||
static const char *const kAsanModuleCtorName = "asan.module_ctor";
|
static const char *const kAsanModuleCtorName = "asan.module_ctor";
|
||||||
static const char *const kAsanModuleDtorName = "asan.module_dtor";
|
static const char *const kAsanModuleDtorName = "asan.module_dtor";
|
||||||
static const int kAsanCtorAndCtorPriority = 1;
|
static const int kAsanCtorAndDtorPriority = 1;
|
||||||
static const char *const kAsanReportErrorTemplate = "__asan_report_";
|
static const char *const kAsanReportErrorTemplate = "__asan_report_";
|
||||||
static const char *const kAsanReportLoadN = "__asan_report_load_n";
|
static const char *const kAsanReportLoadN = "__asan_report_load_n";
|
||||||
static const char *const kAsanReportStoreN = "__asan_report_store_n";
|
static const char *const kAsanReportStoreN = "__asan_report_store_n";
|
||||||
@ -1138,7 +1138,7 @@ bool AddressSanitizerModule::runOnModule(Module &M) {
|
|||||||
IRB_Dtor.CreateCall2(AsanUnregisterGlobals,
|
IRB_Dtor.CreateCall2(AsanUnregisterGlobals,
|
||||||
IRB.CreatePointerCast(AllGlobals, IntptrTy),
|
IRB.CreatePointerCast(AllGlobals, IntptrTy),
|
||||||
ConstantInt::get(IntptrTy, n));
|
ConstantInt::get(IntptrTy, n));
|
||||||
appendToGlobalDtors(M, AsanDtorFunction, kAsanCtorAndCtorPriority);
|
appendToGlobalDtors(M, AsanDtorFunction, kAsanCtorAndDtorPriority);
|
||||||
|
|
||||||
DEBUG(dbgs() << M);
|
DEBUG(dbgs() << M);
|
||||||
return true;
|
return true;
|
||||||
@ -1227,7 +1227,7 @@ bool AddressSanitizer::doInitialization(Module &M) {
|
|||||||
|
|
||||||
Mapping = getShadowMapping(M, LongSize);
|
Mapping = getShadowMapping(M, LongSize);
|
||||||
|
|
||||||
appendToGlobalCtors(M, AsanCtorFunction, kAsanCtorAndCtorPriority);
|
appendToGlobalCtors(M, AsanCtorFunction, kAsanCtorAndDtorPriority);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user