Index: src/IceCompileServer.cpp |
diff --git a/src/IceCompileServer.cpp b/src/IceCompileServer.cpp |
index 19b19f8e19f690e6af9fd05be12637018fe9f10e..b1f168c8a97b9b777174a1889aea36ebd2c577c6 100644 |
--- a/src/IceCompileServer.cpp |
+++ b/src/IceCompileServer.cpp |
@@ -14,6 +14,7 @@ |
#include "IceCompileServer.h" |
+#include "IceASanInstrumentation.h" |
#include "IceClFlags.h" |
#include "IceELFStreamer.h" |
#include "IceGlobalContext.h" |
@@ -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)); |
} |