Skip to content

Commit 004ee57

Browse files
More formatting and generated-file fixes
1 parent a901e3c commit 004ee57

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

libcxx/include/__stacktrace/basic_stacktrace.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,12 @@ class basic_stacktrace : private __stacktrace::_Trace {
131131
// Creation and assignment [stacktrace.basic.cons]
132132

133133
_LIBCPP_ALWAYS_INLINE // Omit this function from the trace
134-
static basic_stacktrace
135-
current(const allocator_type& __alloc = allocator_type()) noexcept {
134+
static basic_stacktrace current(const allocator_type& __alloc = allocator_type()) noexcept {
136135
return current(0, __default_max_depth, __alloc);
137136
}
138137

139138
_LIBCPP_ALWAYS_INLINE // Omit this function from the trace
140-
static basic_stacktrace
141-
current(size_type __skip, const allocator_type& __alloc = allocator_type()) noexcept {
139+
static basic_stacktrace current(size_type __skip, const allocator_type& __alloc = allocator_type()) noexcept {
142140
return current(__skip, __default_max_depth, __alloc);
143141
}
144142

libcxx/include/__stacktrace/stacktrace_entry.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ struct _StringWrapper {
5454

5555
char __chars_[1024];
5656

57-
_LIBCPP_EXPORTED_FROM_ABI std::string_view view() const { return __chars_; }
57+
_LIBCPP_HIDE_FROM_ABI std::string_view view() const { return __chars_; }
5858

59-
_LIBCPP_EXPORTED_FROM_ABI _StringWrapper& assign(std::string_view __view) {
59+
_LIBCPP_HIDE_FROM_ABI _StringWrapper& assign(std::string_view __view) {
6060
size_t __size = std::min(__view.size(), sizeof(__chars_) - 1);
6161
memcpy(__chars_, __view.data(), __size);
6262
__chars_[__size] = 0;

libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@
413413
{'is_defined': True, 'name': '__ZNKSt3__110moneypunctIwLb1EE16do_negative_signEv', 'type': 'FUNC'}
414414
{'is_defined': True, 'name': '__ZNKSt3__110moneypunctIwLb1EE16do_positive_signEv', 'type': 'FUNC'}
415415
{'is_defined': True, 'name': '__ZNKSt3__110moneypunctIwLb1EE16do_thousands_sepEv', 'type': 'FUNC'}
416-
{'is_defined': True, 'name': '__ZNKSt3__112__stacktrace14_StringWrapper4viewEv', 'type': 'FUNC'}
417416
{'is_defined': True, 'name': '__ZNKSt3__112__stacktrace6_Entry8write_toERNS_13basic_ostreamIcNS_11char_traitsIcEEEE', 'type': 'FUNC'}
418417
{'is_defined': True, 'name': '__ZNKSt3__112__stacktrace6_Entry9to_stringEv', 'type': 'FUNC'}
419418
{'is_defined': True, 'name': '__ZNKSt3__112__stacktrace6_Trace8write_toERNS_13basic_ostreamIcNS_11char_traitsIcEEEE', 'type': 'FUNC'}
@@ -980,7 +979,6 @@
980979
{'is_defined': True, 'name': '__ZNSt3__112__rs_defaultD1Ev', 'type': 'FUNC'}
981980
{'is_defined': True, 'name': '__ZNSt3__112__rs_defaultD2Ev', 'type': 'FUNC'}
982981
{'is_defined': True, 'name': '__ZNSt3__112__rs_defaultclEv', 'type': 'FUNC'}
983-
{'is_defined': True, 'name': '__ZNSt3__112__stacktrace14_StringWrapper6assignENS_17basic_string_viewIcNS_11char_traitsIcEEEE', 'type': 'FUNC'}
984982
{'is_defined': True, 'name': '__ZNSt3__112__stacktrace6_Trace15populate_imagesEv', 'type': 'FUNC'}
985983
{'is_defined': True, 'name': '__ZNSt3__112__stacktrace7_ImagesC1Ev', 'type': 'FUNC'}
986984
{'is_defined': True, 'name': '__ZNSt3__112__stacktrace7_ImagesC2Ev', 'type': 'FUNC'}

0 commit comments

Comments
 (0)