llvm-6502/lib
Hal Finkel 1e3d96622a Fix a use-after-free error in GlobalOpt CleanupConstantGlobalUsers
GlobalOpt's CleanupConstantGlobalUsers function uses a worklist array to manage
constant users to be visited. The pointers in this array need to be weak
handles because when we delete a constant array, we may also be holding a
pointer to one of its elements (or an element of one of its elements if we're
dealing with an array of arrays) in the worklist.

Fixes PR17347.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197178 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-12 20:45:24 +00:00
..
Analysis [cleanup] Remove trailing whitespace before I start changing this file. 2013-12-12 11:59:26 +00:00
AsmParser
Bitcode
CodeGen Fix an over-constrained assertion in MachineFunction::addLiveIn. 2013-12-12 00:15:47 +00:00
DebugInfo
ExecutionEngine Prune redundant dependencies in LLVMBuild.txt. 2013-12-11 00:30:57 +00:00
IR GCOV.cpp: Use PRIu64 instead of %lu. 2013-12-10 05:39:40 +00:00
IRReader
Linker
LTO Add TargetLibraryInfo in LTO passes builder 2013-12-12 01:37:39 +00:00
MC Revert "DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers" 2013-12-11 22:08:39 +00:00
Object
Option
Support Fix Typo. 2013-12-12 16:17:40 +00:00
TableGen
Target Simplify the datalayout string of ARM and AArch64. 2013-12-12 17:43:37 +00:00
Transforms Fix a use-after-free error in GlobalOpt CleanupConstantGlobalUsers 2013-12-12 20:45:24 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile