From a2da9b99fa1ea3d25d52da71308a623b2aae216c Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 10 Oct 2018 14:21:55 +0100 Subject: ART: Completely remove the --compile-pic option. And the PIC-related fields from image header. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: Pixel 2 XL boots. Test: testrunner.py --target --optimizing Bug: 77856493 Change-Id: I3787369378f12d8cd9003bebeae62830a67def33 --- compiler/driver/compiler_options_map-inl.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'compiler/driver/compiler_options_map-inl.h') diff --git a/compiler/driver/compiler_options_map-inl.h b/compiler/driver/compiler_options_map-inl.h index 9914d81122..d4a582fb35 100644 --- a/compiler/driver/compiler_options_map-inl.h +++ b/compiler/driver/compiler_options_map-inl.h @@ -43,9 +43,6 @@ inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string } options->SetCompilerFilter(compiler_filter); } - if (map.Exists(Base::PIC)) { - options->compile_pic_ = true; - } map.AssignIfExists(Base::HugeMethodMaxThreshold, &options->huge_method_threshold_); map.AssignIfExists(Base::LargeMethodMaxThreshold, &options->large_method_threshold_); map.AssignIfExists(Base::SmallMethodMaxThreshold, &options->small_method_threshold_); @@ -109,9 +106,6 @@ inline void AddCompilerOptionsArgumentParserOptions(Builder& b) { .template WithType() .IntoKey(Map::CompilerFilter) - .Define("--compile-pic") - .IntoKey(Map::PIC) - .Define("--huge-method-max=_") .template WithType() .IntoKey(Map::HugeMethodMaxThreshold) -- cgit v1.2.3