mirror-llvm-project/llvm/test/Object
ejose02 c4edd8bde4
[Object] Fix irsymtab CommonSize truncation past 4 GiB (#209085)
Fixes #208669

Issue :
With -flto, Fortran COMMON blocks larger than 4 GiB were silently
miscompiled. The linker reserved only the low 32 bits of the declared
size, so stores past that boundary could segfault with no diagnostic.

Root Cause :
storage::Uncommon::CommonSize in the LTO irsymtab was stored as 32-bit
(Word). Sizes above 2^32 bytes were truncated when the symtab was
written and read back at link time.

Fix :
Widen CommonSize to 64-bit and bump irsymtab format version to 4. Added
test to verify symtab records the full size.
2026-07-14 10:09:49 +05:30
..
AArch64
AMDGPU AMDGPU: Introduce amdgpu triple arch (#206480) 2026-07-09 13:43:41 +02:00
ARM
BPF
Inputs [z/OS] Add z/OS archive reading support (#187110) 2026-05-12 09:44:08 -04:00
Lanai
Mips
RISCV
Wasm
X86 [Object] Fix irsymtab CommonSize truncation past 4 GiB (#209085) 2026-07-14 10:09:49 +05:30
ar-create.test
ar-error.test
archive-big-extract.test
archive-big-malformed-first-member.test
archive-big-print.test
archive-big-read-empty-with-freelist.test
archive-big-read.test
archive-darwin-duplicates.test [llvm] Remove uses of %T in tests (#151621) 2025-08-01 08:24:56 -07:00
archive-delete.test
archive-error-tmp.txt
archive-extract-dir.test
archive-extract.test
archive-format.test
archive-long-filenames-no-null-terminator.test
archive-long-index.test
archive-malformed-object.test
archive-move.test
archive-pad.test
archive-replace-pos.test
archive-symtab.test
archive-thin-create.test
archive-thin-paths.test
archive-thin-read.test
archive-toc.test
archive-unknown-filetype.test
archive-update.test
bigarchive-malformed-global-symbol-table
bigarchive-malformed-header.test
bigarchive-symboltable.test
check_binary_output.ll
coff-archive-short.test
coff-archive.test
coff-data-dir-out-of-bounds.test
coff-dwarf-debug-only.test
coff-empty-drectve.test
coff-invalid.test COFF: Start error message with lowercase letter (#208636) 2026-07-10 09:51:15 +02:00
coff-weak-externals.test
directory.ll
dllimport-globalref.ll
dllimport.ll
dyn-rel-relocation.test
invalid-alignment.test
invalid.test
kext.test
macho-bind-negative-skip.test
macho-invalid.test
macho-rebase-bind-trailing-opcode-boundary.test
mangle-ir.ll
multi-module.ll
multiple-sections.yaml
nm-archive.test
nm-bitcode.test
nm-darwin-m.test
nm-error.test
nm-irix6.test
nm-pe-image.test
nm-shared-object.test
nm-trivial-object.test
nm-universal-binary.test
nm-weak-global-macho.test
obj2yaml.test
objc-imageinfo-coff.ll
objc-imageinfo-elf.ll
objc-imageinfo-macho.ll
objc-swift-mixed-imageinfo-macho.ll
objdump-export-list.test
objdump-no-sectionheaders.test
objdump-private-headers.test
objdump-relocations.test
objdump-section-content.test
objdump-sectionheaders.test
objdump-symbol-table.test
pr25877.test
relocation-executable.test
simple-archive.test
size-trivial-macho.test
stackmap-dump.test
yaml2obj-elf-rel-noref.yaml
yaml2obj-elf-rel.yaml
yaml2obj-readobj.test
zos-archive-read.test Fix z/OS archive test failure on macOS (#197290) 2026-05-13 02:49:53 +05:00