summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-02-14 22:26:23 +0000
committerRui Ueyama <ruiu@google.com>2018-02-14 22:26:23 +0000
commitde8140066a7cedff3f8f9e828d4430ad4e80f3d3 (patch)
tree1ca289632da1edfaffd9dc1c0812bfb6aba6a5ca
parent1cd3dd0bd8ba00a9a613f651fe74868276301f03 (diff)
downloadbcm5719-llvm-de8140066a7cedff3f8f9e828d4430ad4e80f3d3.tar.gz
bcm5719-llvm-de8140066a7cedff3f8f9e828d4430ad4e80f3d3.zip
Remove a failing static_assert.
This static_assert is legitimate, but it is failing on some build environments. I'm removing it until it's fixed to unbreak the bots. llvm-svn: 325181
-rw-r--r--lld/wasm/Symbols.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/wasm/Symbols.h b/lld/wasm/Symbols.h
index 726b690b0d1..59278730f93 100644
--- a/lld/wasm/Symbols.h
+++ b/lld/wasm/Symbols.h
@@ -237,8 +237,6 @@ union SymbolUnion {
template <typename T, typename... ArgT>
T *replaceSymbol(Symbol *S, ArgT &&... Arg) {
- static_assert(std::is_trivially_destructible<T>(),
- "Symbol types must be trivially destructible");
static_assert(sizeof(T) <= sizeof(SymbolUnion), "Symbol too small");
static_assert(alignof(T) <= alignof(SymbolUnion),
"SymbolUnion not aligned enough");
OpenPOWER on IntegriCloud