hanchenye-llvm-project/lld/lib/Passes
Rui Ueyama a821d32729 Fix unsafe memory access
The following expression

  m[i] = m[j]

where m is a DenseMap and i != j is not safe. m[j] returns a
reference, which would be invalidated when a rehashing occurs.
If rehashing occurs to make room for m[i], m[j] becomes
invalid, and that invalid reference would be used as the RHS
value of the expression.

llvm-svn: 213969
2014-07-25 19:46:31 +00:00
..
CMakeLists.txt Move GOTPass and StubsPass from Core to MachO 2014-07-09 21:04:24 +00:00
LayoutPass.cpp Fix unsafe memory access 2014-07-25 19:46:31 +00:00
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +00:00
RoundTripNativePass.cpp Update for llvm api change. 2014-07-06 17:43:22 +00:00
RoundTripYAMLPass.cpp Update for llvm api change. 2014-07-06 17:43:22 +00:00