SHA256
1
0
forked from pool/llvm14
llvm14/lld-default-sha1.patch

14 lines
454 B
Diff
Raw Normal View History

2022-04-04 13:49:45 +02:00
Index: lld-10.0.0.src/ELF/Driver.cpp
===================================================================
--- lld-10.0.0.src.orig/ELF/Driver.cpp
+++ lld-10.0.0.src/ELF/Driver.cpp
@@ -693,7 +693,7 @@ getBuildId(opt::InputArgList &args) {
return {BuildIdKind::None, {}};
if (arg->getOption().getID() == OPT_build_id)
- return {BuildIdKind::Fast, {}};
+ return {BuildIdKind::Sha1, {}};
StringRef s = arg->getValue();
if (s == "fast")