This repository has been archived by the owner on Jan 21, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
symbolication: allow symbol upload for Bazel-built Go binairies (#57)
Bazel built Go binairies have their GNU build ID stripped, and their Go build ID set to the string "redacted" See https://github.com/bazelbuild/rules_go/blob/199d8e4827f87d382a85febd0148c1b42fa949cc/go/private/actions/link.bzl#L174 In that case, we want to able to rely on the file hash, for this reason we: - modify the function to get go build ID to consider that "redacted" is equivalent to not having a build ID - still upload debug symbols even if they don't contain a GNU build id or a Go build ID (they'll always contain a file hash, that we will be using for symbolication in that case). The underlying goal is to allow remote symbolication with local symbol upload to work seamless for Go binaries built with Bazel
- Loading branch information