summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrii Ishcheikin <ishcheikin@google.com>2024-01-17 18:05:37 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-01-17 18:05:37 +0000
commit234ab1d279177799288e2e8760186f07822233ec (patch)
tree0b7f6ec1047af16af4a60d33f1f4b85c2864ca8b
parent8aca2035a9ec64e6e058594b53b76e41da5bdad1 (diff)
parentf488d405d47c6ddaccd91790cb3305d5d697d5e5 (diff)
downloadart-234ab1d279177799288e2e8760186f07822233ec.tar.gz
Add visibility attributes in runtime/g* am: f488d405d4
Original change: https://android-review.googlesource.com/c/platform/art/+/2914004 Change-Id: I66e918aa13a7ce6d418b62833da0bdbb4dff9755 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--runtime/gc_root-inl.h2
-rw-r--r--runtime/gc_root.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/runtime/gc_root-inl.h b/runtime/gc_root-inl.h
index e561d29f99..736fdd3890 100644
--- a/runtime/gc_root-inl.h
+++ b/runtime/gc_root-inl.h
@@ -24,7 +24,7 @@
#include "obj_ptr-inl.h"
#include "read_barrier-inl.h"
-namespace art {
+namespace art HIDDEN {
template<class MirrorType>
template<ReadBarrierOption kReadBarrierOption>
diff --git a/runtime/gc_root.h b/runtime/gc_root.h
index 19e2786ae2..da9d3af6cb 100644
--- a/runtime/gc_root.h
+++ b/runtime/gc_root.h
@@ -22,7 +22,7 @@
#include "mirror/object_reference.h"
#include "read_barrier_option.h"
-namespace art {
+namespace art HIDDEN {
class ArtField;
class ArtMethod;
template<class MirrorType> class ObjPtr;
@@ -54,7 +54,7 @@ enum RootType {
kRootVMInternal,
kRootJNIMonitor,
};
-std::ostream& operator<<(std::ostream& os, RootType root_type);
+EXPORT std::ostream& operator<<(std::ostream& os, RootType root_type);
// Only used by hprof. thread_id_ and type_ are only used by hprof.
class RootInfo {