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

Unified Diff: src/IceCompileServer.cpp

Issue 2054943002: Implemented global redzones. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: src/IceCompileServer.cpp
diff --git a/src/IceCompileServer.cpp b/src/IceCompileServer.cpp
index 19b19f8e19f690e6af9fd05be12637018fe9f10e..f819af8e5568b74071069d98129ff7a2f4449230 100644
--- a/src/IceCompileServer.cpp
+++ b/src/IceCompileServer.cpp
@@ -17,6 +17,7 @@
#include "IceClFlags.h"
#include "IceELFStreamer.h"
#include "IceGlobalContext.h"
+#include "IceASanInstrumentation.h"
Jim Stichnoth 2016/06/09 22:27:39 Sort includes (if possible).
tlively 2016/06/09 23:30:10 Done.
#include "LinuxMallocProfiling.h"
#ifdef __clang__
@@ -244,7 +245,7 @@ void CLCompileServer::run() {
// TODO(tlively): Make this instantiate an instrumentation subclass
if (!BuildDefs::minimal() && getFlags().getSanitizeAddresses()) {
- std::unique_ptr<Instrumentation> Instr(new Instrumentation(Ctx.get()));
+ std::unique_ptr<Instrumentation> Instr(new ASanInstrumentation(Ctx.get()));
Ctx->setInstrumentation(std::move(Instr));
}

Powered by Google App Engine
This is Rietveld 408576698