mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-14 11:38:16 +00:00
Revert "* experimental New snapshot release"
This reverts commit 8d2542f6a9
.
This commit is contained in:
parent
0d62419943
commit
d25bfbfc05
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,10 +1,3 @@
|
|||||||
llvm-toolchain-7 (1:7.0.1~svn352582-1~exp1) UNRELEASED; urgency=medium
|
|
||||||
|
|
||||||
* experimental New snapshot release
|
|
||||||
* Remove pr39427-misscompile.diff as it has been applied upstream
|
|
||||||
|
|
||||||
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 30 Jan 2019 08:53:14 +0100
|
|
||||||
|
|
||||||
llvm-toolchain-7 (1:7.0.1-5) unstable; urgency=medium
|
llvm-toolchain-7 (1:7.0.1-5) unstable; urgency=medium
|
||||||
|
|
||||||
* Add 'Rules-Requires-Root: no' in debian/control
|
* Add 'Rules-Requires-Root: no' in debian/control
|
||||||
|
29
debian/patches/pr39427-misscompile.diff
vendored
Normal file
29
debian/patches/pr39427-misscompile.diff
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
Index: llvm-toolchain-7-7/include/llvm/ADT/Optional.h
|
||||||
|
===================================================================
|
||||||
|
--- llvm-toolchain-7-7.orig/include/llvm/ADT/Optional.h
|
||||||
|
+++ llvm-toolchain-7-7/include/llvm/ADT/Optional.h
|
||||||
|
@@ -108,24 +108,6 @@ template <typename T, bool IsPodLike> st
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
-#if !defined(__GNUC__) || defined(__clang__) // GCC up to GCC7 miscompiles this.
|
||||||
|
-/// Storage for trivially copyable types only.
|
||||||
|
-template <typename T> struct OptionalStorage<T, true> {
|
||||||
|
- AlignedCharArrayUnion<T> storage;
|
||||||
|
- bool hasVal = false;
|
||||||
|
-
|
||||||
|
- OptionalStorage() = default;
|
||||||
|
-
|
||||||
|
- OptionalStorage(const T &y) : hasVal(true) { new (storage.buffer) T(y); }
|
||||||
|
- OptionalStorage &operator=(const T &y) {
|
||||||
|
- *reinterpret_cast<T *>(storage.buffer) = y;
|
||||||
|
- hasVal = true;
|
||||||
|
- return *this;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- void reset() { hasVal = false; }
|
||||||
|
-};
|
||||||
|
-#endif
|
||||||
|
} // namespace optional_detail
|
||||||
|
|
||||||
|
template <typename T> class Optional {
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -99,6 +99,7 @@ clang-arm-default-vfp3-on-armv7a.patch
|
|||||||
# For the bootstrap
|
# For the bootstrap
|
||||||
bootstrap-fix-include-next.diff
|
bootstrap-fix-include-next.diff
|
||||||
clangd-atomic-cmake.patch
|
clangd-atomic-cmake.patch
|
||||||
|
pr39427-misscompile.diff
|
||||||
|
|
||||||
# Rustc
|
# Rustc
|
||||||
rustc-aarch64-test-failure.diff
|
rustc-aarch64-test-failure.diff
|
||||||
|
Loading…
Reference in New Issue
Block a user