Separate out more of LLVM build. Move verifier.

Move the verifier to its own directory and break out major components.
Avoid compiling unused files as part of the LLVM build, increase the use
of unimplemented for LLVM.

Change-Id: Icd3b1708363fb70ae99417d06ef8669d60446533
diff --git a/src/trace.cc b/src/trace.cc
index 588979b..e84e7c3 100644
--- a/src/trace.cc
+++ b/src/trace.cc
@@ -21,7 +21,9 @@
 #include "class_linker.h"
 #include "debugger.h"
 #include "dex_cache.h"
+#if !defined(ART_USE_LLVM_COMPILER)
 #include "oat/runtime/oat_support_entrypoints.h"
+#endif
 #include "object_utils.h"
 #include "os.h"
 #include "scoped_thread_list_lock.h"
@@ -152,6 +154,9 @@
       if (t->IsTraceStackEmpty()) {
         break;
       }
+#if defined(ART_USE_LLVM_COMPILER)
+      UNIMPLEMENTED(FATAL);
+#else
       uintptr_t pc = frame.GetReturnPC();
       Method* method = frame.GetMethod();
       if (IsTraceExitPc(pc)) {
@@ -159,6 +164,7 @@
         frame.SetReturnPC(trace_frame.return_pc_);
         CHECK(method == trace_frame.method_);
       }
+#endif
     }
   }
 }
@@ -182,10 +188,14 @@
 }
 
 void Trace::SaveAndUpdateCode(Method* method) {
+#if defined(ART_USE_LLVM_COMPILER)
+  UNIMPLEMENTED(FATAL);
+#else
   void* trace_stub = GetLogTraceEntryPoint();
   CHECK(GetSavedCodeFromMap(method) == NULL);
   AddSavedCodeToMap(method, method->GetCode());
   method->SetCode(trace_stub);
+#endif
 }
 
 void Trace::ResetSavedCode(Method* method) {