SuccessChanges

Summary

  1. [lldb] Fix some bugs in the Pipe class and add tests (details)
  2. [NFCI][SimplifyCFG] Prefer to add Insert edges before Delete edges into DomTreeUpdater, if reasonable (details)
Commit 13dea030b3d794d05a08dd0080c35844c9ca1b30 by pavel
[lldb] Fix some bugs in the Pipe class and add tests

- s/createUniqueFile/createUniquePath -- we don't want to create the file,
  just the file name
- s/data()/str().c_str()/ -- paths given to system apis must be
  null-terminated
The file was modifiedlldb/unittests/Host/CMakeLists.txt
The file was addedlldb/unittests/Host/PipeTest.cpp
The file was modifiedlldb/source/Host/posix/PipePosix.cpp
Commit 8e8d214c4a6c417e42996faeb9211a5c2e32111f by lebedev.ri
[NFCI][SimplifyCFG] Prefer to add Insert edges before Delete edges into DomTreeUpdater, if reasonable

This has a measurable impact on the number of DomTree recalculations.
While this doesn't handle all the cases,
it deals with the most obvious ones.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp