summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-11-16 12:44:15 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2022-11-18 08:29:35 +0000
commitbdbee06484b13d77cc70c5be388e69a4f8c21170 (patch)
tree98cbea43ed3d9ee0b2089a90b1be9e79592fc9d1 /compiler/common_compiler_test.h
parentb1baa738ddf58b02793ba140f2404d01394fa687 (diff)
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
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r--compiler/common_compiler_test.h6
1 files changed, 4 insertions, 2 deletions
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 T> class Handle;
-class CommonCompilerTestImpl {
+// Export all symbols in `CommonCompilerTestImpl` for dex2oat tests.
+class EXPORT CommonCompilerTestImpl {
public:
static std::unique_ptr<CompilerOptions> CreateCompilerOptions(InstructionSet instruction_set,
const std::string& variant);