Add dex2oat -g to control whether the compiled code has debugger support.

Change-Id: I69c83f707d874fee0464929769b1f1f28e9d97ee
diff --git a/src/compiler.cc b/src/compiler.cc
index 37a7414..75f7484 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -202,7 +202,7 @@
 };
 
 Compiler::Compiler(InstructionSet instruction_set, bool image, size_t thread_count,
-                   const std::set<std::string>* image_classes)
+                   bool support_debugging, const std::set<std::string>* image_classes)
     : instruction_set_(instruction_set),
       jni_compiler_(instruction_set),
       compiled_classes_lock_("compiled classes lock"),
@@ -210,6 +210,7 @@
       compiled_invoke_stubs_lock_("compiled invoke stubs lock"),
       image_(image),
       thread_count_(thread_count),
+      support_debugging_(support_debugging),
       stats_(new AOTCompilationStats),
       image_classes_(image_classes)
 #if defined(ART_USE_LLVM_COMPILER)