Commit bf9c19e5 by Abseil Team Committed by Copybara-Service

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

PiperOrigin-RevId: 474017481
Change-Id: I1be222fa38ad01f6ddbcddd610f9629fd4888777
parent 5a547f8b
...@@ -205,7 +205,8 @@ struct ObjFile { ...@@ -205,7 +205,8 @@ struct ObjFile {
// PT_LOAD program header describing executable code. // PT_LOAD program header describing executable code.
// Normally we expect just one, but SWIFT binaries have two. // 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 // Build 4-way associative cache for symbols. Within each cache line, symbols
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment