llvm-6502/test
Duncan P. N. Exon Smith 003346177c IR: Update references to temporaries before deleting
During `MDNode::deleteTemporary()`, call `replaceAllUsesWith(nullptr)`
to update all tracking references to `nullptr`.

This fixes PR22280, where inverted destruction order between tracking
references and the temporaries themselves caused a use-after-free in
`LLParser`.

An alternative fix would be to add an assertion that there are no users,
and continue to fix inverted destruction order in clients (like
`LLParser`), but instead I decided to make getting-teardown-right easy.
(If someone disagrees let me know.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226866 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-22 21:36:45 +00:00
..
Analysis
Assembler IR: Update references to temporaries before deleting 2015-01-22 21:36:45 +00:00
Bindings
Bitcode
BugPoint
CodeGen Intrinsics: introduce llvm_any_ty aka ValueType Any 2015-01-22 20:14:38 +00:00
DebugInfo Revert "PR21408: Workaround the appearance of duplicate variables due to problems when inlining two calls to the same function from the same call site." 2015-01-22 17:49:59 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MC [pr21886] Change MCJIT/ELF to support MSVC C++ mangled symbol. 2015-01-22 14:20:45 +00:00
Object
Other
SymbolRewriter
TableGen
tools Add the option, -indirect-symbols, used with -macho to print the Mach-O indirect symbol table to llvm-objdump. 2015-01-22 18:55:27 +00:00
Transforms Revert "Don't remove a landing pad if the invoke requires a table entry." 2015-01-22 19:29:46 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh