Index: src/llvm2ice.cpp |
diff --git a/src/llvm2ice.cpp b/src/llvm2ice.cpp |
index 3b1813dfcdc8553acfcee6de05b5143783cb9bad..d2cf823840c2e31fa84540940a828028d007bd02 100644 |
--- a/src/llvm2ice.cpp |
+++ b/src/llvm2ice.cpp |
@@ -27,6 +27,8 @@ |
#include "IceCfg.h" |
#include "IceClFlags.h" |
#include "IceConverter.h" |
+#include "IceELFObjectWriter.h" |
+#include "IceELFStreamer.h" |
#include "PNaClTranslator.h" |
using namespace llvm; |
@@ -346,6 +348,7 @@ int main(int argc, char **argv) { |
Ice::TimerMarker T(Ice::TimerStack::TT_szmain, &Ctx); |
if (UseELFWriter) { |
+ Ice::TimerMarker T1(Ice::TimerStack::TT_emit, &Ctx); |
Ctx.getObjectWriter()->writeInitialELFHeader(); |
} |
@@ -377,6 +380,7 @@ int main(int argc, char **argv) { |
return GetReturnValue(1); |
} |
if (UseELFWriter) { |
+ Ice::TimerMarker T1(Ice::TimerStack::TT_emit, &Ctx); |
Ctx.getObjectWriter()->writeNonUserSections(); |
} |
if (SubzeroTimingEnabled) |