Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(883)

Side by Side Diff: src/IceASanInstrumentation.h

Issue 2068593003: Implemented linking to a dummy ASan runtime (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes in szbuild.py Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 22 matching lines...) Expand all
33 public: 33 public:
34 ASanInstrumentation(GlobalContext *Ctx) : Instrumentation(Ctx) {} 34 ASanInstrumentation(GlobalContext *Ctx) : Instrumentation(Ctx) {}
35 void instrumentGlobals(VariableDeclarationList &Globals) override; 35 void instrumentGlobals(VariableDeclarationList &Globals) override;
36 36
37 private: 37 private:
38 std::string nextRzName(); 38 std::string nextRzName();
39 VariableDeclaration *createRz(VariableDeclarationList *List, 39 VariableDeclaration *createRz(VariableDeclarationList *List,
40 VariableDeclaration *RzArray, 40 VariableDeclaration *RzArray,
41 SizeT &RzArraySize, 41 SizeT &RzArraySize,
42 VariableDeclaration *Global); 42 VariableDeclaration *Global);
43 void instrumentStart(Cfg *Func) override;
43 bool DidInsertRedZones = false; 44 bool DidInsertRedZones = false;
44 uint32_t RzNum = 0; 45 uint32_t RzNum = 0;
45 }; 46 };
46 } // end of namespace Ice 47 } // end of namespace Ice
47 48
48 #endif // SUBZERO_SRC_ICEASANINSTRUMENTATION_H 49 #endif // SUBZERO_SRC_ICEASANINSTRUMENTATION_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698