Skip to content

Commit

Permalink
[LLVM_full] Refresh templates patch
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed May 21, 2023
1 parent 4a38980 commit 8be8575
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions L/LLVM/LLVM_full@16/bundled/patches/0200-templates.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,14 @@ Subject: [PATCH] handle template weirdness
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index 927dc272b532..d8bf9ebf7adc 100644
index 7dacdeb9f042..b43b3b3db6f5 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/ELF/InputFiles.cpp
@@ -185,14 +185,14 @@ template <class ELFT> static void doParseFile(InputFile *file) {
@@ -275,7 +275,7 @@ template <class ELFT> static void doParseFile(InputFile *file) {

// .so file
if (auto *f = dyn_cast<SharedFile>(file)) {
- f->parse<ELFT>();
+ f->template parse<ELFT>();
return;
}

// LLVM bitcode file
if (auto *f = dyn_cast<BitcodeFile>(file)) {
ctx->bitcodeFiles.push_back(f);
- f->parse<ELFT>();
+ f->template parse<ELFT>();
return;
}
Expand Down

0 comments on commit 8be8575

Please sign in to comment.