Chromium Code Reviews| 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)); |
| } |