-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal_gengo: store raw descriptor in .rodata section
In Go, []byte literals go into the writable .data (or .noptrdata) section, but string literals goes into the read-only .rodata section. I verified that the contents move from .noptrdata to .rodata: % (cd internal/reflection_test && \ go test -c && \ objdump -s -j .rodata reflection_test.test | grep '0a4669 6e') 88bfd0 6e7370e8 070a4669 6e746572 6e616c2f nsp...Finternal/ Change-Id: I87e190b41c02235abea1967eddca2f0262060ed9 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/638135 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Nicolas Hillegeer <[email protected]> Reviewed-by: Damien Neil <[email protected]>
- Loading branch information
1 parent
132f042
commit cc8d1c2
Showing
145 changed files
with
537 additions
and
27,038 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.