[llvm] 360af60 - [SystemZ][z/OS] Add AutoConvert.h header to MemoryBuffer.cpp
Abhina Sreeskantharajan via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 26 06:02:35 PST 2022
Author: Abhina Sreeskantharajan
Date: 2022-01-26T09:02:29-05:00
New Revision: 360af60e17283020e160609d82268ecf806e2178
URL: https://github.com/llvm/llvm-project/commit/360af60e17283020e160609d82268ecf806e2178
DIFF: https://github.com/llvm/llvm-project/commit/360af60e17283020e160609d82268ecf806e2178.diff
LOG: [SystemZ][z/OS] Add AutoConvert.h header to MemoryBuffer.cpp
This commit https://github.com/llvm/llvm-project/commit/75e164f61d391979b4829bf2746a5d74b94e95f2 removed the AutoConvert.h header causing a build break on z/OS. This patch adds it back to fix it.
Reviewed By: zibi
Differential Revision: https://reviews.llvm.org/D118129
Added:
Modified:
llvm/lib/Support/MemoryBuffer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp
index bf34a242c4c3..7816779cca1d 100644
--- a/llvm/lib/Support/MemoryBuffer.cpp
+++ b/llvm/lib/Support/MemoryBuffer.cpp
@@ -13,6 +13,7 @@
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Config/config.h"
+#include "llvm/Support/AutoConvert.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Errc.h"
More information about the llvm-commits
mailing list