diff options
author | Mikhail R. Gadelha <mikhail@igalia.com> | 2023-09-14 10:02:35 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 09:02:35 -0400 |
commit | 72e6f06119a10babeb259c42c1ffcc71253e9081 (patch) | |
tree | 08fb5eec558dce91063095b38de1512c735e2791 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4f63252d5d0acfc32633a36e18fff469a606e6ce (diff) | |
download | llvm-72e6f06119a10babeb259c42c1ffcc71253e9081.zip llvm-72e6f06119a10babeb259c42c1ffcc71253e9081.tar.gz llvm-72e6f06119a10babeb259c42c1ffcc71253e9081.tar.bz2 |
[libc] Fix start up crash on 32 bit systems (#66210)
This patch changes the default types of argc/argv so it's no longer a
uint64_t in all systems, instead, it's now a uintptr_t, which fixes
crashes in 32-bit systems that expect 32-bit types. This patch also adds
two uintptr_t types (EnvironType and AuxEntryType) for the same reason.
The patch also adds a PgrHdrTableType type behind an ifdef that's
Elf64_Phdr in 64-bit systems and Elf32_Phdr in 32-bit systems.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions