[WebAssembly] Delete static_assert(sizeof(SymbolUnion) <= 96) to fix Windows builds

http://lab.llvm.org:8011/builders/sanitizer-windows/builds/47944/steps/stage%201%20build/logs/stdio

Needs to figure out later the size on Windows.

llvm-svn: 365171
This commit is contained in:
Fangrui Song 2019-07-05 01:45:12 +00:00
parent de7da3f694
commit c4339f1051
1 changed files with 0 additions and 5 deletions

View File

@ -475,11 +475,6 @@ union SymbolUnion {
alignas(SectionSymbol) char I[sizeof(SectionSymbol)];
};
// It is important to keep the size of SymbolUnion small for performance and
// memory usage reasons. 96 bytes is a soft limit based on the size of
// UndefinedFunction on a 64-bit system.
static_assert(sizeof(SymbolUnion) <= 96, "SymbolUnion too large");
void printTraceSymbol(Symbol *Sym);
void printTraceSymbolUndefined(StringRef Name, const InputFile* File);