diff options
author | Abseil Team <absl-team@google.com> | 2022-09-13 07:50:40 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-09-13 07:51:20 -0700 |
commit | bf9c19e545d42070a265c0a6943ff108e4c39df7 (patch) | |
tree | 11ad61d6ff1d4885e7c747ff970e9079d29bfb99 /absl | |
parent | 5a547f8bbd310850bb8123446110730abafdad56 (diff) |
Increase the number of per-ObjFile program headers we can expect.
PiperOrigin-RevId: 474017481
Change-Id: I1be222fa38ad01f6ddbcddd610f9629fd4888777
Diffstat (limited to 'absl')
-rw-r--r-- | absl/debugging/symbolize_elf.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/debugging/symbolize_elf.inc b/absl/debugging/symbolize_elf.inc index 1506f439..639d67dd 100644 --- a/absl/debugging/symbolize_elf.inc +++ b/absl/debugging/symbolize_elf.inc @@ -205,7 +205,8 @@ struct ObjFile { // PT_LOAD program header describing executable code. // Normally we expect just one, but SWIFT binaries have two. - std::array<ElfW(Phdr), 2> phdr; + // CUDA binaries have 3 (see cr/473913254 description). + std::array<ElfW(Phdr), 4> phdr; }; // Build 4-way associative cache for symbols. Within each cache line, symbols |