1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/tools
Peter Collingbourne 5b721561aa DI: Reverse direction of subprogram -> function edge.
Previously, subprograms contained a metadata reference to the function they
described. Because most clients need to get or set a subprogram for a given
function rather than the other way around, this created unneeded inefficiency.

For example, many passes needed to call the function llvm::makeSubprogramMap()
to build a mapping from functions to subprograms, and the IR linker needed to
fix up function references in a way that caused quadratic complexity in the IR
linking phase of LTO.

This change reverses the direction of the edge by storing the subprogram as
function-level metadata and removing DISubprogram's function field.

Since this is an IR change, a bitcode upgrade has been provided.

Fixes PR23367. An upgrade script for textual IR for out-of-tree clients is
attached to the PR.

Differential Revision: http://reviews.llvm.org/D14265

llvm-svn: 252219
2015-11-05 22:03:56 +00:00
..
dsymutil DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
gold Support for llvm-bcanalyzer dumping of record array strings. 2015-10-08 15:56:24 +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] Remove duplicate code check. 2015-09-15 23:35:32 +00:00
llvm-lit [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
llvm-lto Fix windows bot failures from r250699 by removing "/" from expected path 2015-10-19 15:19:02 +00:00
llvm-mc Improve "default_triple" specification: make it at the directory level for test/tools/llvm-mc 2015-09-16 17:03:12 +00:00
llvm-nm Allow llvm-nm’s single letter command line flags to be grouped. 2015-11-02 23:42:05 +00:00
llvm-objdump Reapply r250906 with many suggested updates from Rafael Espindola. 2015-11-05 19:24:56 +00:00
llvm-pdbdump [llvm-pdbdump] Add include-only filters. 2015-09-29 19:49:06 +00:00
llvm-profdata Add inline stack streaming to binary sample profiles. 2015-10-09 17:54:24 +00:00
llvm-readobj [llvm-readobj] Teach ELFDumper about symbol versioning. 2015-10-16 23:19:01 +00:00
llvm-size [llvm-size] Attempt to fix a test failure on Windows. 2015-10-03 20:20:28 +00:00
llvm-split [opaque pointer type] Add textual IR support for explicit type parameter for global aliases 2015-09-11 03:22:04 +00:00
llvm-symbolizer Disable a test relying on symbol demangling on non-Windows platforms 2015-10-16 23:56:14 +00:00
lto Update test suite to make "ninja check" succeed without native backend builtin 2015-08-04 06:32:54 +00:00