diff options
author | 2024-02-07 11:56:46 +0000 | |
---|---|---|
committer | 2024-02-07 12:04:09 +0000 | |
commit | 3025c7fddfcc2b0d23eebc3a8cbc4cdc3b1f1463 (patch) | |
tree | 18b4e8a9b37f5d42aa35d23a5fa8399517eeead1 | |
parent | 8cd02095a2a3671a8d9aae3c36fd54a9a7d0787c (diff) |
Add missing visibility attributes in runtime/
Bug: 260881207
Test: presubmit
Test: abtd app_compat_drm
Test: abtd app_compat_top_100
Test: abtd app_compat_banking
Change-Id: I60055cdf49564ccf46fd70100d11f8b571a2be71
-rw-r--r-- | runtime/entrypoints/quick/quick_math_entrypoints.cc | 4 | ||||
-rw-r--r-- | runtime/nterp_helpers-inl.h | 2 | ||||
-rw-r--r-- | runtime/quick/quick_method_frame_info.h | 2 | ||||
-rw-r--r-- | runtime/quick_exception_handler.cc | 2 | ||||
-rw-r--r-- | runtime/quick_exception_handler.h | 2 | ||||
-rw-r--r-- | runtime/thread_test.cc | 2 |
6 files changed, 8 insertions, 6 deletions
diff --git a/runtime/entrypoints/quick/quick_math_entrypoints.cc b/runtime/entrypoints/quick/quick_math_entrypoints.cc index 51d2784fd8..e318a46d20 100644 --- a/runtime/entrypoints/quick/quick_math_entrypoints.cc +++ b/runtime/entrypoints/quick/quick_math_entrypoints.cc @@ -16,7 +16,9 @@ #include <stdint.h> -namespace art { +#include "base/macros.h" + +namespace art HIDDEN { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wfloat-equal" diff --git a/runtime/nterp_helpers-inl.h b/runtime/nterp_helpers-inl.h index 84c4f25c18..1662bab657 100644 --- a/runtime/nterp_helpers-inl.h +++ b/runtime/nterp_helpers-inl.h @@ -19,7 +19,7 @@ #include "nterp_helpers.h" -namespace art { +namespace art HIDDEN { ALWAYS_INLINE inline uint32_t GetNterpFastPathFlags(std::string_view shorty, uint32_t access_flags, diff --git a/runtime/quick/quick_method_frame_info.h b/runtime/quick/quick_method_frame_info.h index 71f8265bef..1d5f173a0d 100644 --- a/runtime/quick/quick_method_frame_info.h +++ b/runtime/quick/quick_method_frame_info.h @@ -21,7 +21,7 @@ #include "base/macros.h" -namespace art { +namespace art HIDDEN { class PACKED(4) QuickMethodFrameInfo { public: diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc index 1d4411201a..cc276ca435 100644 --- a/runtime/quick_exception_handler.cc +++ b/runtime/quick_exception_handler.cc @@ -45,7 +45,7 @@ #include "oat/stack_map.h" #include "stack.h" -namespace art { +namespace art HIDDEN { static constexpr bool kDebugExceptionDelivery = false; static constexpr size_t kInvalidFrameDepth = 0xffffffff; diff --git a/runtime/quick_exception_handler.h b/runtime/quick_exception_handler.h index 9a5f66f9fe..d39c82bea3 100644 --- a/runtime/quick_exception_handler.h +++ b/runtime/quick_exception_handler.h @@ -28,7 +28,7 @@ #include "oat/stack_map.h" #include "stack_reference.h" -namespace art { +namespace art HIDDEN { namespace mirror { class Throwable; diff --git a/runtime/thread_test.cc b/runtime/thread_test.cc index c4577bc250..780e89d4b7 100644 --- a/runtime/thread_test.cc +++ b/runtime/thread_test.cc @@ -23,7 +23,7 @@ #include "thread-current-inl.h" #include "thread-inl.h" -namespace art { +namespace art HIDDEN { class ThreadTest : public CommonRuntimeTest {}; |