commit | 913b04b6e4a46a6b638203803966d86204608c75 | [log] [tgz] |
---|---|---|
author | Austin Clements <austin@google.com> | Sun Mar 09 12:11:38 2025 -0400 |
committer | Gopher Robot <gobot@golang.org> | Wed Mar 12 09:25:42 2025 -0700 |
tree | b665c1c0762b6a5c73e70dd9cf6f2e3f7b5f4b5d | |
parent | 813340cc1fdc52a372ae3250c2a8df379435f73b [diff] |
x86/xeddata: rewrite Reader to use new readLines iterator The parsing in readLines is simpler and more robust. It also includes line information (which would have been pretty annoying to add to the old parser), so this is a step toward adding position information to Inst. One downside of this is that Reader.Read has to use a pull iterator. However, as far as I can tell, the only callers of this were Reader.ReadAll and WalkInsts, both of which we rewrite to use readObjects directly. Change-Id: I4ca58c877fbfd5295209aea31999c8abd6876f17 Reviewed-on: https://go-review.googlesource.com/c/arch/+/656238 Auto-Submit: Austin Clements <austin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
This repository holds machine architecture information used by the Go toolchain. The parts needed in the main Go repository are copied in.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/arch.
The main issue tracker for the arch repository is located at https://go.dev/issues. Prefix your issue with “x/arch:” in the subject line, so it is easy to find.