SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues Behaviour (details)
  2. [scudo][standalone] Fork support (details)
  3. [Syntax] Unset IsOriginal flag on nodes removed from the tree (details)
Commit e7b2d9f4702cb8882aa275bcb8eab37be17601e1 by Tom.Weaver
[DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues Behaviour
Tests.
Adds 22 distinct tests that exercise the live-debug-values passes
expected behaviour.
reviewers: aprantl, vsk
Differential revision: https://reviews.llvm.org/D72515
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_move_to_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_loop.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_early_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_moved.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_clobber.mir
Commit 9ef6faf49670e18eb1ba04105a7c70b450cdaa71 by kostyak
[scudo][standalone] Fork support
Summary: fork() wasn't well (or at all) supported in Scudo. This
materialized in deadlocks in children.
In order to properly support fork, we will lock the allocator pre-fork
and unlock it post-fork in parent and child. This is done via a
`pthread_atfork` call installing the necessary handlers.
A couple of things suck here: this function allocates - so this has to
be done post initialization as our init path is not reentrance, and it
doesn't allow for an extra pointer - so we can't pass the allocator we
are currently working with.
In order to work around this, I added a post-init template parameter
that gets executed once the allocator is initialized for the current
thread. Its job for the C wrappers is to install the atfork handlers.
I reorganized a bit the impacted area and added some tests, courtesy of
cferris@ that were deadlocking prior to this fix.
Subscribers: jfb, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D72470
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/bytemap.h
The file was modifiedcompiler-rt/lib/scudo/standalone/quarantine.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd.h
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
The file was modifiedcompiler-rt/lib/scudo/standalone/primary32.h
The file was modifiedcompiler-rt/lib/scudo/standalone/primary64.h
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c.inc
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd_exclusive.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd_shared.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/tsd_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/stats.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
Commit 013c07f697886649b068cd97127e528b4fe7c03e by ibiryukov
[Syntax] Unset IsOriginal flag on nodes removed from the tree
And add a corresponding test. Only nodes inside the TranslationUnit
subtree can be marked as original, computeReplacements() relies on this.
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp