hanchenye-llvm-project/lld/lib
Rui Ueyama 23487e878b Make dead-striping to handle reverse edges.
Layout-before edges are no longer used for layout, but they are
still there for dead-stripping. If we would just remove them
from code, LLD would wrongly remove live atoms that were
referenced by layout-befores.

This patch fixes the issue. Before dead-stripping, it scans all
atoms to construct a reverse map for layout-after edges. Dead-
stripping pass uses the map to traverse the graph.

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

llvm-svn: 210057
2014-06-03 01:59:02 +00:00
..
Core Make dead-striping to handle reverse edges. 2014-06-03 01:59:02 +00:00
Driver Use error_code() instead of error_code::succes() 2014-05-31 01:22:21 +00:00
Passes [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 03:21:31 +00:00
ReaderWriter Run clang-format. 2014-06-02 11:13:11 +00:00
CMakeLists.txt