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/linker/linker_patch.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'compiler/linker/linker_patch.h') diff --git a/compiler/linker/linker_patch.h b/compiler/linker/linker_patch.h index 7da1e82d91..8ed7fce0ff 100644 --- a/compiler/linker/linker_patch.h +++ b/compiler/linker/linker_patch.h @@ -23,9 +23,10 @@ #include #include "base/bit_utils.h" +#include "base/macros.h" #include "dex/method_reference.h" -namespace art { +namespace art HIDDEN { class DexFile; @@ -328,7 +329,7 @@ class LinkerPatch { friend bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs); friend bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs); }; -std::ostream& operator<<(std::ostream& os, LinkerPatch::Type type); +EXPORT std::ostream& operator<<(std::ostream& os, LinkerPatch::Type type); inline bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs) { return lhs.literal_offset_ == rhs.literal_offset_ && -- cgit v1.2.3-59-g8ed1b