x86/xeddata: trim leading space in parsing

The new version of XED data file contains some comment lines with
a leading space, e.g. " # EOSZ=2 not64". The current parser doesn't
recognize it. Trim the leading space.

Change-Id: Ia5aa244aece7a1cee2d7842d69c60c9d5335dcce
Reviewed-on: https://go-review.googlesource.com/c/arch/+/655435
Reviewed-by: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2 files changed
tree: e801b22eded2e6c23768f9738f4b822305c7adb1
  1. arm/
  2. arm64/
  3. loong64/
  4. ppc64/
  5. riscv64/
  6. s390x/
  7. x86/
  8. codereview.cfg
  9. CONTRIBUTING.md
  10. go.mod
  11. go.sum
  12. LICENSE
  13. PATENTS
  14. README.md
README.md

arch

Go Reference

This repository holds machine architecture information used by the Go toolchain. The parts needed in the main Go repository are copied in.

Report Issues / Send Patches

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.