[PATCH] D118129: [SystemZ][z/OS] Add AutoConvert.h header to MemoryBuffer.cpp

Abhina Sree via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 05:05:12 PST 2022


abhina.sreeskantharajan created this revision.
abhina.sreeskantharajan added reviewers: fanbo-meng, NancyWang2222, Kai, muiez, yusra.syeda, zibi.
Herald added subscribers: dexonsmith, hiraditya.
abhina.sreeskantharajan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118129

Files:
  llvm/lib/Support/MemoryBuffer.cpp


Index: llvm/lib/Support/MemoryBuffer.cpp
===================================================================
--- llvm/lib/Support/MemoryBuffer.cpp
+++ 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"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118129.402858.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220125/19276106/attachment.bin>


More information about the llvm-commits mailing list