mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-08 14:22:53 +00:00
[ASan] emit instrumentation for initialization order checking by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177063 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -244,7 +244,7 @@ static size_t RedzoneSizeForScale(int MappingScale) {
|
||||
|
||||
/// AddressSanitizer: instrument the code in module to find memory bugs.
|
||||
struct AddressSanitizer : public FunctionPass {
|
||||
AddressSanitizer(bool CheckInitOrder = false,
|
||||
AddressSanitizer(bool CheckInitOrder = true,
|
||||
bool CheckUseAfterReturn = false,
|
||||
bool CheckLifetime = false,
|
||||
StringRef BlacklistFile = StringRef(),
|
||||
@@ -315,7 +315,7 @@ struct AddressSanitizer : public FunctionPass {
|
||||
|
||||
class AddressSanitizerModule : public ModulePass {
|
||||
public:
|
||||
AddressSanitizerModule(bool CheckInitOrder = false,
|
||||
AddressSanitizerModule(bool CheckInitOrder = true,
|
||||
StringRef BlacklistFile = StringRef(),
|
||||
bool ZeroBaseShadow = false)
|
||||
: ModulePass(ID),
|
||||
|
||||
Reference in New Issue
Block a user