From bdbee06484b13d77cc70c5be388e69a4f8c21170 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 16 Nov 2022 12:44:15 +0000 Subject: Make remaining compiler/ symbols hidden. And mark required symbols with EXPORT. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing --jit Change-Id: I1b4e3c1ef9006924456dc36ec906bf74b62adab4 --- compiler/driver/compiler_options.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'compiler/driver/compiler_options.h') diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 1afa2c5d34..1cc9f2d7e2 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -30,7 +30,7 @@ #include "base/utils.h" #include "optimizing/register_allocator.h" -namespace art { +namespace art HIDDEN { namespace jit { class JitCompiler; @@ -83,8 +83,8 @@ class CompilerOptions final { kAppImage, // Creating app image. }; - CompilerOptions(); - ~CompilerOptions(); + EXPORT CompilerOptions(); + EXPORT ~CompilerOptions(); CompilerFilter::Filter GetCompilerFilter() const { return compiler_filter_; @@ -298,11 +298,11 @@ class CompilerOptions final { return image_classes_; } - bool IsImageClass(const char* descriptor) const; + EXPORT bool IsImageClass(const char* descriptor) const; // Returns whether the given `pretty_descriptor` is in the list of preloaded // classes. `pretty_descriptor` should be the result of calling `PrettyDescriptor`. - bool IsPreloadedClass(const char* pretty_descriptor) const; + EXPORT bool IsPreloadedClass(const char* pretty_descriptor) const; bool ParseCompilerOptions(const std::vector& options, bool ignore_unrecognized, @@ -389,11 +389,11 @@ class CompilerOptions final { // initialized at compile-time, or won't be initialized by the zygote, add // initialization checks at entry. This will avoid the need of trampolines // which at runtime we will need to dirty after initialization. - bool ShouldCompileWithClinitCheck(ArtMethod* method) const; + EXPORT bool ShouldCompileWithClinitCheck(ArtMethod* method) const; private: - bool ParseDumpInitFailures(const std::string& option, std::string* error_msg); - bool ParseRegisterAllocationStrategy(const std::string& option, std::string* error_msg); + EXPORT bool ParseDumpInitFailures(const std::string& option, std::string* error_msg); + EXPORT bool ParseRegisterAllocationStrategy(const std::string& option, std::string* error_msg); CompilerFilter::Filter compiler_filter_; size_t huge_method_threshold_; -- cgit v1.2.3-59-g8ed1b