1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/test/tools
Rafael Espindola 948209eab7 Stop inventing symbol sizes.
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.

llvm-svn: 238028
2015-05-22 15:43:00 +00:00
..
dsymutil [dsymutil] Temporarily disable some tests on windows. 2015-03-24 23:11:07 +00:00
gold Add -m -m elf_x86_64 to gold invocations. 2015-03-24 22:20:19 +00:00
llvm-cov InstrProf: Fix display of large numbers in llvm-cov 2015-05-13 22:41:48 +00:00
llvm-cxxdump llvm-cxxdump: Rename llvm-vtabledump to llvm-cxxdump 2015-03-15 01:30:58 +00:00
llvm-lit [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
llvm-mc [llvm-mc] Fixing case where if a file ended with non-newline whitespace or a comma it would access invalid memory. 2014-11-11 21:03:09 +00:00
llvm-objdump Stop inventing symbol sizes. 2015-05-22 15:43:00 +00:00
llvm-pdbdump [llvm-pdbdump] Support dynamic load address and external symbols. 2015-05-01 20:24:26 +00:00
llvm-profdata InstrProf: Give coverage its own errors instead of piggy backing on instrprof 2015-05-06 23:19:35 +00:00
llvm-readobj [llvm-readobj] Teach llvm-readobj to print PT_MIPS_ABIFLAGS program header 2015-05-15 15:59:22 +00:00
llvm-symbolizer A few fixes for llvm-symbolizer on Windows. 2015-05-06 22:26:30 +00:00
lto test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00