From cab25b98a7e66c5a41c1bd6eb1b028e5b6bff105 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Fri, 16 Jun 2023 20:24:16 +0000 Subject: [PATCH] Auto-generate files after cl/540978247 --- src/google/protobuf/any.pb.h | 1 + src/google/protobuf/api.pb.h | 35 ++++++------ src/google/protobuf/duration.pb.h | 1 + src/google/protobuf/empty.pb.h | 1 + src/google/protobuf/field_mask.pb.h | 19 +++---- src/google/protobuf/source_context.pb.h | 1 + src/google/protobuf/struct.pb.h | 15 +++--- src/google/protobuf/timestamp.pb.h | 1 + src/google/protobuf/type.pb.h | 71 +++++++++++++------------ src/google/protobuf/wrappers.pb.h | 9 ++++ 10 files changed, 90 insertions(+), 64 deletions(-) diff --git a/src/google/protobuf/any.pb.h b/src/google/protobuf/any.pb.h index f7fc1ff03b..09d2dd115d 100644 --- a/src/google/protobuf/any.pb.h +++ b/src/google/protobuf/any.pb.h @@ -283,6 +283,7 @@ class PROTOBUF_EXPORT Any final : ::google::protobuf::internal::ArenaStringPtr value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::AnyMetadata _any_metadata_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fany_2eproto; diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index baadec00bf..cb4a3ddf26 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -349,6 +349,7 @@ class PROTOBUF_EXPORT Api final : ::google::protobuf::internal::ArenaStringPtr version_; ::google::protobuf::SourceContext* source_context_; int syntax_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto; @@ -604,6 +605,7 @@ class PROTOBUF_EXPORT Method final : bool response_streaming_; int syntax_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto; @@ -785,6 +787,7 @@ class PROTOBUF_EXPORT Mixin final : ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::internal::ArenaStringPtr root_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto; @@ -868,7 +871,7 @@ inline ::google::protobuf::Method* Api::mutable_methods(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >* Api::mutable_methods() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_methods(); } inline const ::google::protobuf::Method& Api::methods(int index) const { @@ -876,7 +879,7 @@ inline const ::google::protobuf::Method& Api::methods(int index) const { return _internal_methods().Get(index); } inline ::google::protobuf::Method* Api::add_methods() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Method* _add = _internal_mutable_methods()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Api.methods) return _add; @@ -888,12 +891,12 @@ Api::methods() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>& Api::_internal_methods() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.methods_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>* Api::_internal_mutable_methods() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.methods_; } @@ -911,7 +914,7 @@ inline ::google::protobuf::Option* Api::mutable_options(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* Api::mutable_options() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_options(); } inline const ::google::protobuf::Option& Api::options(int index) const { @@ -919,7 +922,7 @@ inline const ::google::protobuf::Option& Api::options(int index) const { return _internal_options().Get(index); } inline ::google::protobuf::Option* Api::add_options() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Option* _add = _internal_mutable_options()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Api.options) return _add; @@ -931,12 +934,12 @@ Api::options() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Api::_internal_options() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.options_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Api::_internal_mutable_options() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.options_; } @@ -1088,7 +1091,7 @@ inline ::google::protobuf::Mixin* Api::mutable_mixins(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >* Api::mutable_mixins() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_mixins(); } inline const ::google::protobuf::Mixin& Api::mixins(int index) const { @@ -1096,7 +1099,7 @@ inline const ::google::protobuf::Mixin& Api::mixins(int index) const { return _internal_mixins().Get(index); } inline ::google::protobuf::Mixin* Api::add_mixins() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Mixin* _add = _internal_mutable_mixins()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins) return _add; @@ -1108,12 +1111,12 @@ Api::mixins() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>& Api::_internal_mixins() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.mixins_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>* Api::_internal_mutable_mixins() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.mixins_; } @@ -1330,7 +1333,7 @@ inline ::google::protobuf::Option* Method::mutable_options(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* Method::mutable_options() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_options(); } inline const ::google::protobuf::Option& Method::options(int index) const { @@ -1338,7 +1341,7 @@ inline const ::google::protobuf::Option& Method::options(int index) const { return _internal_options().Get(index); } inline ::google::protobuf::Option* Method::add_options() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Option* _add = _internal_mutable_options()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Method.options) return _add; @@ -1350,12 +1353,12 @@ Method::options() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Method::_internal_options() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.options_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Method::_internal_mutable_options() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.options_; } diff --git a/src/google/protobuf/duration.pb.h b/src/google/protobuf/duration.pb.h index 64d1561369..51ec50befe 100644 --- a/src/google/protobuf/duration.pb.h +++ b/src/google/protobuf/duration.pb.h @@ -235,6 +235,7 @@ class PROTOBUF_EXPORT Duration final : ::int64_t seconds_; ::int32_t nanos_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fduration_2eproto; diff --git a/src/google/protobuf/empty.pb.h b/src/google/protobuf/empty.pb.h index ca5b6953d3..1ecba9449a 100644 --- a/src/google/protobuf/empty.pb.h +++ b/src/google/protobuf/empty.pb.h @@ -192,6 +192,7 @@ class PROTOBUF_EXPORT Empty final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { + PROTOBUF_TSAN_DECLARE_MEMBER; }; friend struct ::TableStruct_google_2fprotobuf_2fempty_2eproto; }; diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h index 16c216b487..e614510356 100644 --- a/src/google/protobuf/field_mask.pb.h +++ b/src/google/protobuf/field_mask.pb.h @@ -241,6 +241,7 @@ class PROTOBUF_EXPORT FieldMask final : struct Impl_ { ::google::protobuf::RepeatedPtrField paths_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto; @@ -273,7 +274,7 @@ inline void FieldMask::clear_paths() { _internal_mutable_paths()->Clear(); } inline std::string* FieldMask::add_paths() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); std::string* _s = _internal_mutable_paths()->Add(); // @@protoc_insertion_point(field_add_mutable:google.protobuf.FieldMask.paths) return _s; @@ -311,29 +312,29 @@ inline void FieldMask::set_paths(int index, absl::string_view value) { // @@protoc_insertion_point(field_set_string_piece:google.protobuf.FieldMask.paths) } inline void FieldMask::add_paths(const std::string& value) { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_paths()->Add()->assign(value); // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths) } inline void FieldMask::add_paths(std::string&& value) { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_paths()->Add(std::move(value)); // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths) } inline void FieldMask::add_paths(const char* value) { ABSL_DCHECK(value != nullptr); - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_paths()->Add()->assign(value); // @@protoc_insertion_point(field_add_char:google.protobuf.FieldMask.paths) } inline void FieldMask::add_paths(const char* value, std::size_t size) { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_paths()->Add()->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:google.protobuf.FieldMask.paths) } inline void FieldMask::add_paths(absl::string_view value) { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_paths()->Add()->assign(value.data(), value.size()); // @@protoc_insertion_point(field_add_string_piece:google.protobuf.FieldMask.paths) } @@ -344,17 +345,17 @@ FieldMask::paths() const { } inline ::google::protobuf::RepeatedPtrField* FieldMask::mutable_paths() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldMask.paths) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_paths(); } inline const ::google::protobuf::RepeatedPtrField& FieldMask::_internal_paths() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.paths_; } inline ::google::protobuf::RepeatedPtrField* FieldMask::_internal_mutable_paths() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.paths_; } diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h index 2b69c1e8db..496c49e368 100644 --- a/src/google/protobuf/source_context.pb.h +++ b/src/google/protobuf/source_context.pb.h @@ -229,6 +229,7 @@ class PROTOBUF_EXPORT SourceContext final : struct Impl_ { ::google::protobuf::internal::ArenaStringPtr file_name_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fsource_5fcontext_2eproto; diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index ddcacf6043..d5c34c2d4c 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -308,6 +308,7 @@ class PROTOBUF_EXPORT Struct final : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> fields_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto; @@ -580,6 +581,7 @@ class PROTOBUF_EXPORT Value final : mutable ::google::protobuf::internal::CachedSize _cached_size_; ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto; @@ -745,6 +747,7 @@ class PROTOBUF_EXPORT ListValue final : struct Impl_ { ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value > values_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto; @@ -779,7 +782,7 @@ inline void Struct::clear_fields() { _impl_.fields_.Clear(); } inline const ::google::protobuf::Map& Struct::_internal_fields() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.fields_.GetMap(); } inline const ::google::protobuf::Map& Struct::fields() const { @@ -787,7 +790,7 @@ inline const ::google::protobuf::Map& St return _internal_fields(); } inline ::google::protobuf::Map* Struct::_internal_mutable_fields() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _impl_.fields_.MutableMap(); } inline ::google::protobuf::Map* Struct::mutable_fields() { @@ -1159,7 +1162,7 @@ inline ::google::protobuf::Value* ListValue::mutable_values(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >* ListValue::mutable_values() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.ListValue.values) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_values(); } inline const ::google::protobuf::Value& ListValue::values(int index) const { @@ -1167,7 +1170,7 @@ inline const ::google::protobuf::Value& ListValue::values(int index) const { return _internal_values().Get(index); } inline ::google::protobuf::Value* ListValue::add_values() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Value* _add = _internal_mutable_values()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.ListValue.values) return _add; @@ -1179,12 +1182,12 @@ ListValue::values() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Value>& ListValue::_internal_values() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.values_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Value>* ListValue::_internal_mutable_values() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.values_; } diff --git a/src/google/protobuf/timestamp.pb.h b/src/google/protobuf/timestamp.pb.h index 8656902144..88c9698767 100644 --- a/src/google/protobuf/timestamp.pb.h +++ b/src/google/protobuf/timestamp.pb.h @@ -235,6 +235,7 @@ class PROTOBUF_EXPORT Timestamp final : ::int64_t seconds_; ::int32_t nanos_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2ftimestamp_2eproto; diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index ffef86e79b..b8f1606288 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -486,6 +486,7 @@ class PROTOBUF_EXPORT Type final : ::google::protobuf::internal::ArenaStringPtr edition_; ::google::protobuf::SourceContext* source_context_; int syntax_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; @@ -842,6 +843,7 @@ class PROTOBUF_EXPORT Field final : ::int32_t oneof_index_; bool packed_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; @@ -1093,6 +1095,7 @@ class PROTOBUF_EXPORT Enum final : ::google::protobuf::internal::ArenaStringPtr edition_; ::google::protobuf::SourceContext* source_context_; int syntax_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; @@ -1288,6 +1291,7 @@ class PROTOBUF_EXPORT EnumValue final : ::google::protobuf::internal::ArenaStringPtr name_; ::int32_t number_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; @@ -1469,6 +1473,7 @@ class PROTOBUF_EXPORT Option final : mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::Any* value_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; @@ -1552,7 +1557,7 @@ inline ::google::protobuf::Field* Type::mutable_fields(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >* Type::mutable_fields() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_fields(); } inline const ::google::protobuf::Field& Type::fields(int index) const { @@ -1560,7 +1565,7 @@ inline const ::google::protobuf::Field& Type::fields(int index) const { return _internal_fields().Get(index); } inline ::google::protobuf::Field* Type::add_fields() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Field* _add = _internal_mutable_fields()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Type.fields) return _add; @@ -1572,12 +1577,12 @@ Type::fields() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>& Type::_internal_fields() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.fields_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>* Type::_internal_mutable_fields() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.fields_; } @@ -1592,7 +1597,7 @@ inline void Type::clear_oneofs() { _internal_mutable_oneofs()->Clear(); } inline std::string* Type::add_oneofs() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); std::string* _s = _internal_mutable_oneofs()->Add(); // @@protoc_insertion_point(field_add_mutable:google.protobuf.Type.oneofs) return _s; @@ -1630,29 +1635,29 @@ inline void Type::set_oneofs(int index, absl::string_view value) { // @@protoc_insertion_point(field_set_string_piece:google.protobuf.Type.oneofs) } inline void Type::add_oneofs(const std::string& value) { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_oneofs()->Add()->assign(value); // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs) } inline void Type::add_oneofs(std::string&& value) { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_oneofs()->Add(std::move(value)); // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs) } inline void Type::add_oneofs(const char* value) { ABSL_DCHECK(value != nullptr); - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_oneofs()->Add()->assign(value); // @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs) } inline void Type::add_oneofs(const char* value, std::size_t size) { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_oneofs()->Add()->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:google.protobuf.Type.oneofs) } inline void Type::add_oneofs(absl::string_view value) { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_oneofs()->Add()->assign(value.data(), value.size()); // @@protoc_insertion_point(field_add_string_piece:google.protobuf.Type.oneofs) } @@ -1663,17 +1668,17 @@ Type::oneofs() const { } inline ::google::protobuf::RepeatedPtrField* Type::mutable_oneofs() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_oneofs(); } inline const ::google::protobuf::RepeatedPtrField& Type::_internal_oneofs() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.oneofs_; } inline ::google::protobuf::RepeatedPtrField* Type::_internal_mutable_oneofs() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.oneofs_; } @@ -1694,7 +1699,7 @@ inline ::google::protobuf::Option* Type::mutable_options(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* Type::mutable_options() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_options(); } inline const ::google::protobuf::Option& Type::options(int index) const { @@ -1702,7 +1707,7 @@ inline const ::google::protobuf::Option& Type::options(int index) const { return _internal_options().Get(index); } inline ::google::protobuf::Option* Type::add_options() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Option* _add = _internal_mutable_options()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Type.options) return _add; @@ -1714,12 +1719,12 @@ Type::options() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Type::_internal_options() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.options_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Type::_internal_mutable_options() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.options_; } @@ -2085,7 +2090,7 @@ inline ::google::protobuf::Option* Field::mutable_options(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* Field::mutable_options() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_options(); } inline const ::google::protobuf::Option& Field::options(int index) const { @@ -2093,7 +2098,7 @@ inline const ::google::protobuf::Option& Field::options(int index) const { return _internal_options().Get(index); } inline ::google::protobuf::Option* Field::add_options() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Option* _add = _internal_mutable_options()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Field.options) return _add; @@ -2105,12 +2110,12 @@ Field::options() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Field::_internal_options() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.options_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Field::_internal_mutable_options() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.options_; } @@ -2270,7 +2275,7 @@ inline ::google::protobuf::EnumValue* Enum::mutable_enumvalue(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >* Enum::mutable_enumvalue() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_enumvalue(); } inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const { @@ -2278,7 +2283,7 @@ inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const { return _internal_enumvalue().Get(index); } inline ::google::protobuf::EnumValue* Enum::add_enumvalue() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::EnumValue* _add = _internal_mutable_enumvalue()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue) return _add; @@ -2290,12 +2295,12 @@ Enum::enumvalue() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>& Enum::_internal_enumvalue() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.enumvalue_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>* Enum::_internal_mutable_enumvalue() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.enumvalue_; } @@ -2316,7 +2321,7 @@ inline ::google::protobuf::Option* Enum::mutable_options(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* Enum::mutable_options() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_options(); } inline const ::google::protobuf::Option& Enum::options(int index) const { @@ -2324,7 +2329,7 @@ inline const ::google::protobuf::Option& Enum::options(int index) const { return _internal_options().Get(index); } inline ::google::protobuf::Option* Enum::add_options() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Option* _add = _internal_mutable_options()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.Enum.options) return _add; @@ -2336,12 +2341,12 @@ Enum::options() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Enum::_internal_options() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.options_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Enum::_internal_mutable_options() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.options_; } @@ -2582,7 +2587,7 @@ inline ::google::protobuf::Option* EnumValue::mutable_options(int index) { inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* EnumValue::mutable_options() { // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options) - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_options(); } inline const ::google::protobuf::Option& EnumValue::options(int index) const { @@ -2590,7 +2595,7 @@ inline const ::google::protobuf::Option& EnumValue::options(int index) const { return _internal_options().Get(index); } inline ::google::protobuf::Option* EnumValue::add_options() { - PROTOBUF_TSAN_WRITE(&_impl_); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::google::protobuf::Option* _add = _internal_mutable_options()->Add(); // @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options) return _add; @@ -2602,12 +2607,12 @@ EnumValue::options() const { } inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& EnumValue::_internal_options() const { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.options_; } inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* EnumValue::_internal_mutable_options() { - PROTOBUF_TSAN_READ(&_impl_); + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.options_; } diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h index d44bb2e4e2..82d371f125 100644 --- a/src/google/protobuf/wrappers.pb.h +++ b/src/google/protobuf/wrappers.pb.h @@ -263,6 +263,7 @@ class PROTOBUF_EXPORT DoubleValue final : struct Impl_ { double value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto; @@ -420,6 +421,7 @@ class PROTOBUF_EXPORT FloatValue final : struct Impl_ { float value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto; @@ -577,6 +579,7 @@ class PROTOBUF_EXPORT Int64Value final : struct Impl_ { ::int64_t value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto; @@ -734,6 +737,7 @@ class PROTOBUF_EXPORT UInt64Value final : struct Impl_ { ::uint64_t value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto; @@ -891,6 +895,7 @@ class PROTOBUF_EXPORT Int32Value final : struct Impl_ { ::int32_t value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto; @@ -1048,6 +1053,7 @@ class PROTOBUF_EXPORT UInt32Value final : struct Impl_ { ::uint32_t value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto; @@ -1205,6 +1211,7 @@ class PROTOBUF_EXPORT BoolValue final : struct Impl_ { bool value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto; @@ -1368,6 +1375,7 @@ class PROTOBUF_EXPORT StringValue final : struct Impl_ { ::google::protobuf::internal::ArenaStringPtr value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto; @@ -1531,6 +1539,7 @@ class PROTOBUF_EXPORT BytesValue final : struct Impl_ { ::google::protobuf::internal::ArenaStringPtr value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER; }; union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;