[debugsyms] Add support for debuginfod

Adds support for debugsyms to upload debug symbols to two locations, for
compatibility with both debuginfod and zxdb formats.

To make this easier, I deleted the `-namespace` flag, which is
currently always set to "debug" for .build-id symbol uploads. Allowing
customization of directories doesn't make sense for debuginfod symbols,
which must always be under the "buildid" path.

Once we're ready to switch over to debuginfod entirely, we can delete
the zxdb codepath.

Fixed: 61846
Change-Id: I863234bbed702dd0f251ead813082859b62f59ad
Reviewed-on: https://fuchsia-review.googlesource.com/c/tools/+/446355
Reviewed-by: Anthony Fandrianto <atyfto@google.com>
Commit-Queue: Oliver Newman <olivernewman@google.com>
5 files changed
tree: e05bfd3e77ce1c2260ed6de4c9ec4bad951c79a2
  1. buildidtool/
  2. debugsyms/
  3. gndoc/
  4. godepfile/
  5. .gitignore
  6. go.mod
  7. go.sum
  8. manifest
  9. README.md
README.md

tools

All tools have been moved to fuchsia.git at https://fuchsia.googlesource.com/fuchsia/+/refs/heads/master/tools.