| OLD | NEW |
| 1 //===- subzero/src/IceASanInstrumentation.h - AddressSanitizer --*- C++ -*-===// | 1 //===- subzero/src/IceASanInstrumentation.h - AddressSanitizer --*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 void instrumentFuncStart(LoweringContext &Context) override; | 47 void instrumentFuncStart(LoweringContext &Context) override; |
| 48 void instrumentCall(LoweringContext &Context, InstCall *Instr) override; | 48 void instrumentCall(LoweringContext &Context, InstCall *Instr) override; |
| 49 void instrumentRet(LoweringContext &Context, InstRet *Instr) override; | 49 void instrumentRet(LoweringContext &Context, InstRet *Instr) override; |
| 50 void instrumentLoad(LoweringContext &Context, InstLoad *Instr) override; | 50 void instrumentLoad(LoweringContext &Context, InstLoad *Instr) override; |
| 51 void instrumentStore(LoweringContext &Context, InstStore *Instr) override; | 51 void instrumentStore(LoweringContext &Context, InstStore *Instr) override; |
| 52 void instrumentAccess(LoweringContext &Context, Operand *Op, SizeT Size, | 52 void instrumentAccess(LoweringContext &Context, Operand *Op, SizeT Size, |
| 53 Constant *AccessFunc); | 53 Constant *AccessFunc); |
| 54 void instrumentStart(Cfg *Func) override; | 54 void instrumentStart(Cfg *Func) override; |
| 55 void finishFunc(Cfg *Func) override; | 55 void finishFunc(Cfg *Func) override; |
| 56 ICE_TLS_DECLARE_FIELD(VarSizeMap *, LocalVars); | 56 ICE_TLS_DECLARE_FIELD(VarSizeMap *, LocalVars); |
| 57 ICE_TLS_DECLARE_FIELD(std::vector<InstCall *> *, LocalDtors); | 57 ICE_TLS_DECLARE_FIELD(std::vector<InstStore *> *, LocalDtors); |
| 58 GlobalSizeMap GlobalSizes; | 58 GlobalSizeMap GlobalSizes; |
| 59 std::atomic<uint32_t> RzNum; | 59 std::atomic<uint32_t> RzNum; |
| 60 bool DidProcessGlobals = false; | 60 bool DidProcessGlobals = false; |
| 61 SizeT RzGlobalsNum = 0; | 61 SizeT RzGlobalsNum = 0; |
| 62 std::mutex GlobalsMutex; | 62 std::mutex GlobalsMutex; |
| 63 }; | 63 }; |
| 64 } // end of namespace Ice | 64 } // end of namespace Ice |
| 65 | 65 |
| 66 #endif // SUBZERO_SRC_ICEASANINSTRUMENTATION_H | 66 #endif // SUBZERO_SRC_ICEASANINSTRUMENTATION_H |
| OLD | NEW |