SuccessChanges

Summary

  1. [dfsan] Rename ShadowTy/ZeroShadow with prefix Primitive (details)
  2. Switch from llvm::is_trivially_copyable to std::is_trivially_copyable (details)
Commit bd726d2796b1a5d2c936b5708bfb49a4b7fb89de by jianzhouzh
[dfsan] Rename ShadowTy/ZeroShadow with prefix Primitive

This is a child diff of D92261.

After supporting field/index-level shadow, the existing shadow with type
i16 works for only primitive types.

Reviewed-by: morehouse

Differential Revision: https://reviews.llvm.org/D92459
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp (diff)
Commit 1d6ebdfb66b9d63d34f34ec6ac7ec57eff7cd24b by i
Switch from llvm::is_trivially_copyable to std::is_trivially_copyable

GCC<5 did not support std::is_trivially_copyable. Now LLVM builds require 5.1
we can migrate to std::is_trivially_copyable.

The Optional.h change made MSVC choke
(https://buildkite.com/llvm-project/premerge-checks/builds/18587#cd1bb616-ffdc-4581-9795-b42c284196de)
so I leave it out for now.

Differential Revision: https://reviews.llvm.org/D92514
The file was modifiedllvm/unittests/Support/ScaledNumberTest.cpp (diff)
The file was modifiedllvm/unittests/ADT/PointerIntPairTest.cpp (diff)
The file was modifiedllvm/unittests/Analysis/BlockFrequencyInfoTest.cpp (diff)
The file was modifiedllvm/unittests/CodeGen/TypeTraitsTest.cpp (diff)
The file was modifiedllvm/unittests/ADT/ImmutableListTest.cpp (diff)
The file was modifiedllvm/unittests/ADT/StringRefTest.cpp (diff)
The file was modifiedllvm/unittests/ADT/OptionalTest.cpp (diff)
The file was modifiedllvm/unittests/ADT/ArrayRefTest.cpp (diff)
The file was modifiedllvm/unittests/Bitstream/BitstreamReaderTest.cpp (diff)
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeHashing.h (diff)
The file was modifiedllvm/docs/ProgrammersManual.rst (diff)
The file was modifiedllvm/include/llvm/ADT/DenseMap.h (diff)
The file was modifiedllvm/tools/llvm-diff/DifferenceEngine.cpp (diff)
The file was modifiedllvm/include/llvm/ADT/STLExtras.h (diff)
The file was modifiedllvm/unittests/IR/CFGBuilder.cpp (diff)
The file was modifiedllvm/unittests/CodeGen/MachineInstrTest.cpp (diff)