summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-05-17 12:57:18 +0100
committerVladimir Marko <vmarko@google.com>2017-05-17 13:28:14 +0100
commit2fad527ddf2b8d85df82468932ed724407f46be8 (patch)
treed2420c1e23ad166d4995946d1c479efee8fc27d9 /compiler/driver/compiler_options.h
parentd1c22768e77d2c9c06d7dfa36bde24bf5b6ac8a0 (diff)
Ignore --compile-pic option for JIT.
Test: testrunner --host --pictest --jit Bug: 33192586 Change-Id: I1e05874752c6a3b448ffbeff9681637a35acda2a
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index 957ea99c49..5a8202159e 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -237,6 +237,10 @@ class CompilerOptions FINAL {
bool ParseCompilerOption(const StringPiece& option, UsageFn Usage);
+ void SetNonPic() {
+ compile_pic_ = false;
+ }
+
const std::string& GetDumpCfgFileName() const {
return dump_cfg_file_name_;
}