summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2014-06-13 21:18:04 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-06-12 05:34:11 +0000
commit49a1b407f4947f9611838de554dbdaa2d45f8208 (patch)
tree725e7599c3290fd82c5475a7e1a2676a6a4e12ba /compiler/driver/compiler_driver.h
parent08eeb38bb95dbb41dbdb0ea023749889b126af61 (diff)
parent78382fa44ee505cf16835e4d22515e7252a90864 (diff)
Merge "Optionally add debug symbols to ELF files made by quick compiler."
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index fad67983dd..9903421338 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -28,6 +28,7 @@
#include "compiled_method.h"
#include "compiler.h"
#include "dex_file.h"
+#include "driver/compiler_options.h"
#include "instruction_set.h"
#include "invoke_type.h"
#include "method_reference.h"
@@ -105,8 +106,7 @@ class CompilerDriver {
InstructionSetFeatures instruction_set_features,
bool image, DescriptorSet* image_classes,
size_t thread_count, bool dump_stats, bool dump_passes,
- CumulativeLogger* timer,
- std::string profile_file = "");
+ CumulativeLogger* timer, std::string profile_file = "");
~CompilerDriver();
@@ -394,6 +394,10 @@ class CompilerDriver {
return dump_passes_;
}
+ bool DidIncludeDebugSymbols() const {
+ return compiler_options_->GetIncludeDebugSymbols();
+ }
+
CumulativeLogger* GetTimingsLogger() const {
return timings_logger_;
}