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/common_compiler_test.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'compiler/common_compiler_test.h') diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index 11755224d1..f3cd13296c 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -24,11 +24,12 @@ #include "arch/instruction_set.h" #include "arch/instruction_set_features.h" +#include "base/macros.h" #include "common_runtime_test.h" #include "compiler.h" #include "oat_file.h" -namespace art { +namespace art HIDDEN { namespace mirror { class ClassLoader; } // namespace mirror @@ -40,7 +41,8 @@ class TimingLogger; template class Handle; -class CommonCompilerTestImpl { +// Export all symbols in `CommonCompilerTestImpl` for dex2oat tests. +class EXPORT CommonCompilerTestImpl { public: static std::unique_ptr CreateCompilerOptions(InstructionSet instruction_set, const std::string& variant); -- cgit v1.2.3-59-g8ed1b