SuccessChanges

Summary

  1. [XRay][compiler-rt] Remove use of std::mutex and std::shared_ptr from global scope. Summary: This change attempts to remove all the dependencies we have on std::mutex and any std::shared_ptr construction in global variables. We instead use raw pointers to these objects, and construct them on the heap. In cases where it's possible, we lazily initialize these pointers. While we do not have a replacement for std::shared_ptr yet in compiler-rt, we use this work-around to avoid having to statically initialize the objects as globals. Subsequent changes should allow us to completely remove our dependency on std::shared_ptr and instead have our own implementation of the std::shared_ptr and std::weak_ptr semantics (or completely rewrite the implementaton to not need these standard-library provided abstractions). Reviewers: dblaikie, kpw, pelikan Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36078
  2. [NewGVN] Fold single-use variables. NFCI.
  3. [NewGVN] Remove a (now stale) comment. NFCI.
  4. Fix the bug that parseAAPipeline is not invoked in runNewPMPasses in release compiler. Summary: The logic is guarded by "assert". Reviewers: davidxl, davide, chandlerc Reviewed By: davide, chandlerc Subscribers: sanjoy, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D36195
  5. [CMake] Include llvm-objcopy tool in Fuchsia toolchain Differential Revision: https://reviews.llvm.org/D36194
  6. [SimplifyCFG] Fix typo in comment. NFC
Revision 309792 by dberris:
[XRay][compiler-rt] Remove use of std::mutex and std::shared_ptr from global scope.

Summary:
This change attempts to remove all the dependencies we have on
std::mutex and any std::shared_ptr construction in global variables. We
instead use raw pointers to these objects, and construct them on the
heap. In cases where it's possible, we lazily initialize these pointers.

While we do not have a replacement for std::shared_ptr yet in
compiler-rt, we use this work-around to avoid having to statically
initialize the objects as globals. Subsequent changes should allow us to
completely remove our dependency on std::shared_ptr and instead have our
own implementation of the std::shared_ptr and std::weak_ptr semantics
(or completely rewrite the implementaton to not need these
standard-library provided abstractions).

Reviewers: dblaikie, kpw, pelikan

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D36078
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/include/xray/xray_records.hcompiler-rt.src/include/xray/xray_records.h
The file was modified/compiler-rt/trunk/lib/xray/xray_fdr_logging.cccompiler-rt.src/lib/xray/xray_fdr_logging.cc
The file was modified/compiler-rt/trunk/lib/xray/xray_fdr_logging_impl.hcompiler-rt.src/lib/xray/xray_fdr_logging_impl.h
The file was modified/compiler-rt/trunk/lib/xray/xray_inmemory_log.cccompiler-rt.src/lib/xray/xray_inmemory_log.cc
Revision 309790 by davide:
[NewGVN] Fold single-use variables. NFCI.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/NewGVN.cppllvm.src/lib/Transforms/Scalar/NewGVN.cpp
Revision 309789 by davide:
[NewGVN] Remove a (now stale) comment. NFCI.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/NewGVN.cppllvm.src/lib/Transforms/Scalar/NewGVN.cpp
Revision 309787 by dehao:
Fix the bug that parseAAPipeline is not invoked in runNewPMPasses in release compiler.

Summary: The logic is guarded by "assert".

Reviewers: davidxl, davide, chandlerc

Reviewed By: davide, chandlerc

Subscribers: sanjoy, llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D36195
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/LTO/Config.hllvm.src/include/llvm/LTO/Config.h
The file was modified/llvm/trunk/lib/LTO/LTOBackend.cppllvm.src/lib/LTO/LTOBackend.cpp
The file was modified/llvm/trunk/test/tools/llvm-lto2/X86/pipeline.llllvm.src/test/tools/llvm-lto2/X86/pipeline.ll
The file was modified/llvm/trunk/tools/llvm-lto2/llvm-lto2.cppllvm.src/tools/llvm-lto2/llvm-lto2.cpp
Revision 309786 by phosek:
[CMake] Include llvm-objcopy tool in Fuchsia toolchain

Differential Revision: https://reviews.llvm.org/D36194
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/cmake/caches/Fuchsia-stage2.cmakeclang.src/cmake/caches/Fuchsia-stage2.cmake
Revision 309785 by ctopper:
[SimplifyCFG] Fix typo in comment. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cppllvm.src/lib/Transforms/Utils/SimplifyCFG.cpp