mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Don't use a red zone for code coverage if the user specified `-mno-red-zone'.
The `-mno-red-zone' flag wasn't being propagated to the functions that code coverage generates. This allowed some of them to use the red zone when that wasn't allowed. <rdar://problem/12843084> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169754 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -33,7 +33,8 @@ ModulePass *createPathProfilerPass();
|
||||
// Insert GCOV profiling instrumentation
|
||||
ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
|
||||
bool Use402Format = false,
|
||||
bool UseExtraChecksum = false);
|
||||
bool UseExtraChecksum = false,
|
||||
bool NoRedZone = false);
|
||||
|
||||
// Insert AddressSanitizer (address sanity checking) instrumentation
|
||||
FunctionPass *createAddressSanitizerFunctionPass(
|
||||
@@ -41,8 +42,10 @@ FunctionPass *createAddressSanitizerFunctionPass(
|
||||
bool CheckLifetime = false, StringRef BlacklistFile = StringRef());
|
||||
ModulePass *createAddressSanitizerModulePass(
|
||||
bool CheckInitOrder = false, StringRef BlacklistFile = StringRef());
|
||||
|
||||
// Insert MemorySanitizer instrumentation (detection of uninitialized reads)
|
||||
FunctionPass *createMemorySanitizerPass();
|
||||
|
||||
// Insert ThreadSanitizer (race detection) instrumentation
|
||||
FunctionPass *createThreadSanitizerPass();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user