Increase the number of per-ObjFile program headers we can expect.

PiperOrigin-RevId: 474017481
Change-Id: I1be222fa38ad01f6ddbcddd610f9629fd4888777
pull/1277/head
Abseil Team 3 years ago committed by Copybara-Service
parent 5a547f8bbd
commit bf9c19e545
  1. 3
      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

Loading…
Cancel
Save