aboutsummaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorCharles Davis <cdavis5x@gmail.com>2018-08-31 13:41:05 +0000
committerCharles Davis <cdavis5x@gmail.com>2018-08-31 13:41:05 +0000
commit226570dcfcbbef820d188034f8d93a870b3fe824 (patch)
tree06044fc71e5e0d34f34d006f3999c3d967075487 /libunwind
parent8e864be70aa9cb226a7f2cf1c23340fa05dc15e5 (diff)
[AddressSpace] Use the macro to set hidden visibility on LocalAddressSpace.
Summary: That attribute has no effect on Windows anyway--classes are hidden by default. Reviewers: mstorsjo, rnk Subscribers: christof, cfe-commits Differential Revision: https://reviews.llvm.org/D51509 llvm-svn: 341210
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/src/AddressSpace.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/src/AddressSpace.hpp b/libunwind/src/AddressSpace.hpp
index 32e66bbd2e85..30ad35995aec 100644
--- a/libunwind/src/AddressSpace.hpp
+++ b/libunwind/src/AddressSpace.hpp
@@ -180,7 +180,7 @@ struct UnwindInfoSections {
/// LocalAddressSpace is used as a template parameter to UnwindCursor when
/// unwinding a thread in the same process. The wrappers compile away,
/// making local unwinds fast.
-class __attribute__((visibility("hidden"))) LocalAddressSpace {
+class _LIBUNWIND_HIDDEN LocalAddressSpace {
public:
typedef uintptr_t pint_t;
typedef intptr_t sint_t;