Protobuf Team Bot
1c4de038f4
Internal change
...
PiperOrigin-RevId: 534686527
2 years ago
Protobuf Team Bot
9b807b491c
Auto-generate files after cl/534622899
2 years ago
Jie Luo
f36a5c6674
Internal change
...
PiperOrigin-RevId: 534622899
2 years ago
Protobuf Team Bot
1a3ccf9869
Auto-generate files after cl/534606377
2 years ago
Protobuf Team Bot
3f21ad53a5
Internal change
...
PiperOrigin-RevId: 534606377
2 years ago
Protobuf Team Bot
1cd81cf271
Auto-generate files after cl/534579685
2 years ago
Protobuf Team Bot
790712a828
Internal change
...
PiperOrigin-RevId: 534579685
2 years ago
Protobuf Team Bot
ac23edce09
Auto-generate files after cl/534570019
2 years ago
Justin Lebar
c8c7ad39a0
Avoid int32 overflow in PackedEnumSmallRange.
...
PiperOrigin-RevId: 534572557
2 years ago
Protobuf Team Bot
7cdd9f5113
Internal change
...
PiperOrigin-RevId: 534570019
2 years ago
Protobuf Team Bot
3492dc92c5
Auto-generate files after cl/534562415
2 years ago
Protobuf Team Bot
d3793f737f
Internal change
...
PiperOrigin-RevId: 534562415
2 years ago
Protobuf Team Bot
a3d16d8645
Auto-generate files after cl/534555826
2 years ago
Protobuf Team Bot
4884ca9842
Internal change
...
PiperOrigin-RevId: 534555826
2 years ago
Protobuf Team Bot
d9a223ad94
Auto-generate files after cl/534549318
2 years ago
Mike Kruskal
5866e4575c
Add assertions to reflection methods.
...
This will ensure that the message is the appropriate type. Failing to pass this check can lead to UB and crashes.
PiperOrigin-RevId: 534549318
2 years ago
Protobuf Team Bot
2829eb4a76
Auto-generate files after cl/534544112
2 years ago
Protobuf Team Bot
d771142d92
Internal change
...
PiperOrigin-RevId: 534544112
2 years ago
Protobuf Team Bot
a519958718
Auto-generate files after cl/534514738
2 years ago
Protobuf Team Bot
bc1b1f6e53
Fail to parse message sets if type_id is zero.
...
PiperOrigin-RevId: 534517343
2 years ago
Jie Luo
86fc32cedc
Removed message._extensions_by_number
...
PiperOrigin-RevId: 534514738
2 years ago
Protobuf Team Bot
20604b4abb
Internal change
...
PiperOrigin-RevId: 534504811
2 years ago
Protobuf Team Bot
4a37865204
Auto-generate files after cl/534502236
2 years ago
Protobuf Team Bot
8a18315b55
Internal change
...
PiperOrigin-RevId: 534502236
2 years ago
Protobuf Team Bot
7b151d5fc0
Auto-generate files after cl/534474530
2 years ago
Protobuf Team Bot
288b23658e
Internal change
...
PiperOrigin-RevId: 534474530
2 years ago
Protobuf Team Bot
b2c43464d6
Auto-generate files after cl/534454119
2 years ago
Protobuf Team Bot
ee8d52eaa7
Reduce stack usage of MessageDifferencer recursion by almost half:
...
- Stop using FixedArray. Memory allocators have improved since then, so the wins are smaller.
- Prevent allocating SpecificField object in the stack. It is 96 bytes and stays in the stack frame even if used temporarily in the function.
PiperOrigin-RevId: 534454119
2 years ago
Protobuf Team Bot
f215e21f8f
Auto-generate files after cl/534443479
2 years ago
Protobuf Team Bot
6c8a511d9e
Internal change
...
PiperOrigin-RevId: 534443479
2 years ago
Protobuf Team Bot
06e232dcd8
Auto-generate files after cl/534226922
2 years ago
Mike Kruskal
9657172749
Use composer action for dependency caching.
...
This will reduce the flakes we've seen in PHP tests.
PiperOrigin-RevId: 534226922
2 years ago
Protobuf Team Bot
03c49f355d
Auto-generate files after cl/534168300
2 years ago
Protobuf Team Bot
a6d895988d
Automated rollback of commit b55b834d5a
.
...
PiperOrigin-RevId: 534168300
2 years ago
Protobuf Team Bot
d5d7654efe
Auto-generate files after cl/534135404
2 years ago
Protobuf Team Bot
2be574946a
Internal change
...
PiperOrigin-RevId: 534135404
2 years ago
Protobuf Team Bot
ce018ab715
Auto-generate files after PR #12831
2 years ago
Matt Kulukundis
ded8f486c7
fix: keep same ABI in asan and non-asan builds ( #12831 )
...
fixes : #12830
Closes #12831
PiperOrigin-RevId: 534121876
2 years ago
Mike Kruskal
bec4585d3d
Internal changes
...
PiperOrigin-RevId: 533624998
2 years ago
Mike Kruskal
afd4971110
Disable test points under coverage runs.
...
These intentionally get very close to stack limits, and can be pushed even further by coverage instrumentation.
PiperOrigin-RevId: 533582545
2 years ago
Jorge Gorbe Moya
af23ec69a8
Move definitions for empty private constructors out of line.
...
When building in debug mode, clang uses constructor type homing as an
optimization for debug info size. This means the debug info for types is
emitted at the same time as the constructor definition.
Some `*Descriptor` types in this file only have an inline constructor which is
never called (by design). Instead of properly constructing these objects, it
looks like memory is allocated elsewhere and then cast to the needed type. This
causes the compiler to never emit neither the inline constructor definition nor
the debug info for these types, which harms the debugger experience (it is also
technically undefined behavior).
This change moves their definitions out of line to the .cc file. This doesn't
solve the UB but it makes the compiler emit the definitions for the
constructors somewhere, and thus the debug info too.
PiperOrigin-RevId: 533579527
2 years ago
Adam Cozzette
1147bb6284
Automated rollback of commit 35891f4261
.
...
PiperOrigin-RevId: 533573995
2 years ago
Protobuf Team Bot
192f472f7f
Auto-generate files after cl/533561966
2 years ago
Protobuf Team Bot
5436c1923c
Automated rollback of commit 12a2fa5e1e
.
...
PiperOrigin-RevId: 533561966
2 years ago
Mike Kruskal
284a057ac1
Automated rollback of commit 4848a87ffd
.
...
PiperOrigin-RevId: 533544088
2 years ago
Mike Kruskal
4848a87ffd
Automated rollback of commit 711a749dd1
.
...
PiperOrigin-RevId: 533524967
2 years ago
Protobuf Team Bot
82ba1962f9
Auto-generate files after cl/533512747
2 years ago
Protobuf Team Bot
12a2fa5e1e
Add `ABSL_ATTRIBUTE_LIFETIME_BOUND` attribute on generated message field accessors.
...
This allows the compiler to statically detect use-after-free bugs.
PiperOrigin-RevId: 533512747
2 years ago
Jie Luo
e737c8108a
Removed message._extensions_by_name
...
PiperOrigin-RevId: 533501166
2 years ago
Mike Kruskal
711a749dd1
Internal changes
...
PiperOrigin-RevId: 533497887
2 years ago