mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
f489d7af8e
--HG-- rename : build/build-clang/clang-6-linux64.json => build/build-clang/clang-6-pre-linux64.json rename : build/build-clang/clang-6-macosx64.json => build/build-clang/clang-6-pre-macosx64.json rename : taskcluster/scripts/misc/build-clang-6-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-6-pre-linux-macosx-cross.sh rename : taskcluster/scripts/misc/build-clang-6-linux.sh => taskcluster/scripts/misc/build-clang-6-pre-linux.sh
19 lines
796 B
Diff
19 lines
796 B
Diff
https://reviews.llvm.org/D41089
|
|
|
|
[COFF] Don't error out on undefined references to __enclave_config
|
|
|
|
This is required for linking the CRT from MSVC 2017 15.5.
|
|
|
|
diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp
|
|
--- a/lld/COFF/Driver.cpp
|
|
+++ b/lld/COFF/Driver.cpp
|
|
@@ -1167,6 +1167,8 @@ void LinkerDriver::link(ArrayRef<const char *> ArgsArr) {
|
|
Symtab->addAbsolute(mangle("__guard_iat_table"), 0);
|
|
Symtab->addAbsolute(mangle("__guard_longjmp_count"), 0);
|
|
Symtab->addAbsolute(mangle("__guard_longjmp_table"), 0);
|
|
+ // Needed for MSVC 2017 15.5 CRT.
|
|
+ Symtab->addAbsolute(mangle("__enclave_config"), 0);
|
|
|
|
// This code may add new undefined symbols to the link, which may enqueue more
|
|
// symbol resolution tasks, so we need to continue executing tasks until we
|