8570490240
Migrated to SPDX license Related: RHEL-12966
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
From 00b2ba45d6631b2e0d80bf187ddd4e8bd75d3aee Mon Sep 17 00:00:00 2001
|
|
From: Krasimir Georgiev <krasimir@google.com>
|
|
Date: Fri, 14 Jul 2023 12:10:29 +0000
|
|
Subject: [PATCH 2/2] llvm-wrapper: update for LLVM API change
|
|
|
|
No functional changes intended.
|
|
|
|
Adds an include for llvm::SmallString. Previously, this must have been
|
|
implicitly provided by some of the existing headers. With recent LLVM
|
|
changes, not anymore:
|
|
https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/20776#01895448-44a4-4a1e-8407-9d41d0186132/209-690
|
|
|
|
(cherry picked from commit 6ddf9128b2b55f9def80af57f7353d2521527c6a)
|
|
---
|
|
compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
|
|
index 0493d6b05d03..bf00d11edf6d 100644
|
|
--- a/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
|
|
+++ b/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
|
|
@@ -7,6 +7,7 @@
|
|
// * https://github.com/llvm/llvm-project/blob/8ef3e895ad8ab1724e2b87cabad1dacdc7a397a3/llvm/include/llvm/Object/ArchiveWriter.h
|
|
// * https://github.com/llvm/llvm-project/blob/8ef3e895ad8ab1724e2b87cabad1dacdc7a397a3/llvm/lib/Object/ArchiveWriter.cpp
|
|
|
|
+#include "llvm/ADT/SmallString.h"
|
|
#include "llvm/IR/LLVMContext.h"
|
|
#include "llvm/Object/ObjectFile.h"
|
|
|
|
--
|
|
2.41.0
|
|
|