mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
7b677dd986
MachO and COFF quite reasonably only define the size for common symbols. We used to try to figure out the "size" by computing the gap from one symbol to the next. This would not be correct in general, since a part of a section can belong to no visible symbol (padding, private globals). It was also really expensive, since we would walk every symbol to find the size of one. If a caller really wants this, it can sort all the symbols once and get all the gaps ("size") in O(n log n) instead of O(n^2). On MachO this also has the advantage of centralizing all the checks for an invalid n_sect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238028 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
AArch64 | ||
ARM | ||
Inputs | ||
X86 | ||
coff-file.test | ||
coff-large-bss.test | ||
coff-many-relocs.test | ||
coff-non-null-terminated-file.test | ||
coff-private-headers.test | ||
common-symbol-elf.test | ||
hex-relocation-addr.test | ||
macho-bad-ordinal.test | ||
macho-bind2.test | ||
macho-bind.test | ||
macho-compact-unwind-i386.test | ||
macho-compact-unwind-x86_64.test | ||
macho-exports-trie.test | ||
macho-lazy-bind.test | ||
macho-rebase.test | ||
macho-sections.test | ||
macho-unwind-info-arm64.test | ||
macho-unwind-info-no-relocs.test | ||
macho-unwind-info-x86_64.test | ||
macho-weak-bind.test | ||
proc-specific-section-elf.test | ||
win64-unwind-data.test |