https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/72906
This revision fixes the following error on z/OS.
`LLVM ERROR: IO failure on output stream: EDC5122I Input/output error.`
>From df0f7d9eb1d665c7ecce37878b041b8b7d47cfd8 Mon Sep 17 00:00:00 2001
From: Abhina Sr
https://github.com/abhina-sree edited
https://github.com/llvm/llvm-project/pull/72906
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree edited
https://github.com/llvm/llvm-project/pull/72906
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/72906
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/75212
This patch completes the support for EBCDIC I/O support on z/OS using the
autoconversion functions.
>From 3244136acf891cda7344afbfd16187ba96b029a8 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75212
>From 3244136acf891cda7344afbfd16187ba96b029a8 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Tue, 12 Dec 2023 11:12:50 -0500
Subject: [PATCH 1/2] Continue adding EBCDIC I/O support
---
clang/
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75212
>From 7bac35e24c3de0ed8370055bc4e4f1ea27d8f694 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Tue, 12 Dec 2023 11:12:50 -0500
Subject: [PATCH 1/2] Continue adding EBCDIC I/O support
---
clang/
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/75212
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/75339
This patch adds strnlen to the zOSSupport.h file to fix build failures in
multiple files.
>From 1b234e926dc6396fe4053f3c3463ed36e5d58778 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 13
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75339
>From 1b234e926dc6396fe4053f3c3463ed36e5d58778 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 13 Dec 2023 08:35:52 -0500
Subject: [PATCH 1/2] fix strnlen build failure for z/OS
---
clang/
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75339
>From 71695feb1770ff939c6571de98c965d87e03ad29 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 13 Dec 2023 08:35:52 -0500
Subject: [PATCH 1/2] fix strnlen build failure for z/OS
---
clang/
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75339
>From 71695feb1770ff939c6571de98c965d87e03ad29 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 13 Dec 2023 08:35:52 -0500
Subject: [PATCH 1/3] fix strnlen build failure for z/OS
---
clang/
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75339
>From 71695feb1770ff939c6571de98c965d87e03ad29 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 13 Dec 2023 08:35:52 -0500
Subject: [PATCH 1/4] fix strnlen build failure for z/OS
---
clang/
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/75339
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/75637
This patch fixes the following build error on z/OS `error: unknown type name
'Dl_info'` by adding a guard to check if we have dladdr.
>From 6b102c50136b8f49b2d678b06fb8f14f866cca70 Mon Sep 17 00:00:00 2001
F
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From 6b102c50136b8f49b2d678b06fb8f14f866cca70 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 13:13:24 -0500
Subject: [PATCH 1/2] check if we have dlfcn.h and dladdr
---
clang
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From 6b102c50136b8f49b2d678b06fb8f14f866cca70 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 13:13:24 -0500
Subject: [PATCH 1/3] check if we have dlfcn.h and dladdr
---
clang
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From fa5de46426920ed3592fcd0b0dd5b810b62d22c1 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 13:13:24 -0500
Subject: [PATCH] check if we have dlfcn.h and dladdr
---
clang/too
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From 61385bf2fa5c7369812eed6d40d04599f2383ee0 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 14:39:23 -0500
Subject: [PATCH] check if we have dlfcn.h and dladdr
---
clang/too
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From 61385bf2fa5c7369812eed6d40d04599f2383ee0 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 14:39:23 -0500
Subject: [PATCH 1/2] check if we have dlfcn.h and dladdr
---
clang
@@ -125,21 +126,28 @@ const std::string &CIndexer::getClangResourcesPath() {
#elif defined(_AIX)
getClangResourcesPathImplAIX(LibClangPath);
#else
+ bool pathFound = false;
abhina-sree wrote:
thanks, done!
https://github.com/llvm/llvm-project/pull/75637
__
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/75637
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/75928
Use llvm-config.h in CIndexer.cpp instead of private header
>From 86e8d6f52da0b48b9e99b66a7440755507c9f9ed Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Tue, 19 Dec 2023 08:12:48 -0500
Subject
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75928
>From 86e8d6f52da0b48b9e99b66a7440755507c9f9ed Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Tue, 19 Dec 2023 08:12:48 -0500
Subject: [PATCH 1/2] use llvm-config.h instead of private header
--
@@ -17,6 +17,7 @@
#include "clang/Driver/Driver.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
+#include "llvm/Config/config.h"
abhina-sree wrote:
Thanks, I created a fix for it here
https://github.com/llvm/llvm-project/pull/75928
https
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/75928
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/76073
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/76163
This patch checks for the presence of dlfcn.h and dladdr in clang to be used in
clang/tools/libclang/CIndexer.cpp
>From 37a33f4f2458ed32cd0c53834044410c9a90c07f Mon Sep 17 00:00:00 2001
From: Abhina Sreeskan
abhina-sree wrote:
> Could we take other ways? I think they don't affect external API.
>
> 1. Detect stuff in `clang/Config/config.h`
> 2. Migrate the special logic to `llvm/Support`.
Thanks, I've created a patch here that detects the header in clang's config.h.
Please let me know if this is a
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/76163
>From 4c1b811b3807e888445e8114c0755811deb17c3f Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Thu, 21 Dec 2023 08:28:30 -0500
Subject: [PATCH 1/2] Revert "Use llvm-config.h in CIndexer.cpp inste
abhina-sree wrote:
CI failure is unrelated to my patch, so I will go ahead and commit
https://github.com/llvm/llvm-project/pull/76163
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/76163
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
abhina-sree wrote:
> Can you say what motivated this? Change looks fine, but it looks like it
> fixes a problem someone reported somewhere but this doesn't say what the
> problem is.
Yes, there was a concern about exposing prefix-less macros in the llvm-config.h
here https://github.com/llvm/l
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/107399
This patch renames the functions in AutoConvert.h/cpp to have a less generic
name because they are z/OS specific.
>From 34e044dc5677b345570a202dd0542440a7eee8d9 Mon Sep 17 00:00:00 2001
From: Abhina Sreeska
@@ -52,6 +53,12 @@ std::error_code restoreStdHandleAutoConversion(int FD);
/// \brief Set the tag information for a file descriptor.
std::error_code setFileTag(int FD, int CCSID, bool Text);
+// Get the the tag ccsid for a file name or a file descriptor.
+ErrorOr<__ccsid_t> ge
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/107399
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/98652
>From e7be53314994b9a051ba2ff99dfd029937ebcc07 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 12 Jul 2024 11:17:24 -0400
Subject: [PATCH 1/3] update autoconversion functionality to fix erro
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/107906
This patch adds an IsText parameter to the following functions openFileForRead,
getBufferForFile, getBufferForFileImpl and determines whether a file is text by
querying the file tag on z/OS. The default is
@@ -326,7 +326,7 @@ ErrorOr>
RealFileSystem::openFileForRead(const Twine &Name) {
SmallString<256> RealName, Storage;
Expected FDOrErr = sys::fs::openNativeFileForRead(
- adjustPath(Name, Storage), sys::fs::OF_None, &RealName);
+ adjustPath(Name, Storage), sys::fs
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/107613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/107906
>From 758745c955471b0ad65cd3a33381f753e2b63797 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Mon, 9 Sep 2024 15:32:09 -0400
Subject: [PATCH] Propagate IsText parameter to openFileForRead funct
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/107906
>From 758745c955471b0ad65cd3a33381f753e2b63797 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Mon, 9 Sep 2024 15:32:09 -0400
Subject: [PATCH 1/2] Propagate IsText parameter to openFileForRead f
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/98652
>From e7be53314994b9a051ba2ff99dfd029937ebcc07 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 12 Jul 2024 11:17:24 -0400
Subject: [PATCH 1/3] update autoconversion functionality to fix erro
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/87797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/87797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/101024
The XPLINK calling convention is specified in the Language Environment Vendor
Interface, chapter 22,
(https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.cee/cee.htm)
and in Redbook XP
abhina-sree wrote:
I will be taking over this change from Fanbo here
https://github.com/llvm/llvm-project/pull/101024. I will address the comments
here on that PR.
https://github.com/llvm/llvm-project/pull/91384
___
cfe-commits mailing list
cfe-commi
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/101024
>From 9d30fcbac4ecdc592663d20a2b18b6b4e2ee873e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Mon, 29 Jul 2024 10:49:08 -0400
Subject: [PATCH] [SystemZ][z/OS] Implement z/OS XPLINK ABI
---
cl
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/89995
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/90128
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/98652
This fixes the following error when reading source and header files: error:
source file is not valid UTF-8
>From 539af083a22ccdeaa64ccc85d6ffc08b48c9432f Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharaja
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/98652
>From 716a8c95d0059eaf616d9c179708ac4e02c17220 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 12 Jul 2024 11:17:24 -0400
Subject: [PATCH] update autoconversion functionality to fix error: s
https://github.com/abhina-sree edited
https://github.com/llvm/llvm-project/pull/98652
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -326,7 +326,7 @@ ErrorOr>
RealFileSystem::openFileForRead(const Twine &Name) {
SmallString<256> RealName, Storage;
Expected FDOrErr = sys::fs::openNativeFileForRead(
- adjustPath(Name, Storage), sys::fs::OF_None, &RealName);
+ adjustPath(Name, Storage), sys::fs
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/89995
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/90128
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/101696
>From 0246fe8e7f8d93ad3e37ff770a18bd1928552b5f Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 2 Aug 2024 11:44:44 -0400
Subject: [PATCH] __ptr32 support for z/OS
---
clang/include/clang/
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/101700
This is to fix the suggested formatting error seen here
https://github.com/llvm/llvm-project/pull/96063
>From be425ea61ed9b45839e5dff517797cd1c1e42c5a Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
https://github.com/abhina-sree edited
https://github.com/llvm/llvm-project/pull/101700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree edited
https://github.com/llvm/llvm-project/pull/101700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/101700
>From 647b7c492ae814d4bada1435f3c41b700f093b64 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 2 Aug 2024 11:56:22 -0400
Subject: [PATCH] [NFC] format TokenKey enum
---
clang/lib/Basic/Id
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/101700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/101696
>From 20a999cf221064c5d160fca8a118707bcb0d199a Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 2 Aug 2024 11:44:44 -0400
Subject: [PATCH] __ptr32 support for z/OS
---
clang/include/clang/
@@ -532,9 +532,371 @@ bool SystemZTargetCodeGenInfo::isVectorTypeBased(const
Type *Ty,
return false;
}
+//===--===//
+// z/OS XPLINK ABI Implementation
+//===
@@ -532,9 +532,371 @@ bool SystemZTargetCodeGenInfo::isVectorTypeBased(const
Type *Ty,
return false;
}
+//===--===//
+// z/OS XPLINK ABI Implementation
+//===
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/101024
>From 9d30fcbac4ecdc592663d20a2b18b6b4e2ee873e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Mon, 29 Jul 2024 10:49:08 -0400
Subject: [PATCH 1/4] [SystemZ][z/OS] Implement z/OS XPLINK ABI
---
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/101696
>From f6e1481fb323352a4f6ce3728424d6990f72a800 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 2 Aug 2024 11:44:44 -0400
Subject: [PATCH] __ptr32 support for z/OS
---
clang/include/clang/
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/101696
>From f6e1481fb323352a4f6ce3728424d6990f72a800 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 2 Aug 2024 11:44:44 -0400
Subject: [PATCH 1/2] __ptr32 support for z/OS
---
clang/include/cl
@@ -211,6 +215,9 @@ static KeywordStatus getKeywordStatusHelper(const
LangOptions &LangOpts,
case KEYNOMS18:
// The disable behavior for this is handled in getKeywordStatus.
return KS_Unknown;
+ case KEYNOZOS:
+// The disable behavior for this is handled in getK
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/101696
>From f6e1481fb323352a4f6ce3728424d6990f72a800 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 2 Aug 2024 11:44:44 -0400
Subject: [PATCH 1/3] __ptr32 support for z/OS
---
clang/include/cl
@@ -3650,6 +3650,14 @@ void CompilerInvocationBase::GenerateLangArgs(const
LangOptions &Opts,
GenerateArg(Consumer, OPT_ftrigraphs);
}
+ if (T.isOSzOS()) {
+if (!Opts.ZOSExt)
+ GenerateArg(Consumer, OPT_fno_zos_extensions);
+ } else {
+if (Opts.ZOSExt)
abhina-sree wrote:
Enabling __ptr32 keyword to support in Clang for z/OS. It is represented by
addrspace(1) in LLVM IR. Unlike existing implementation, __ptr32 is not mangled
into symbol names for z/OS.
https://github.com/llvm/llvm-project/pull/101696
__
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/101696
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/102469
Remove unnecessary copy of Triple in ItaniumMangle.cpp
>From e5139d8079471ac6e6f0d76f36ed7ef593fff1b7 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Thu, 8 Aug 2024 09:57:03 -0400
Subject: [PA
https://github.com/abhina-sree edited
https://github.com/llvm/llvm-project/pull/102469
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2727,6 +2727,8 @@ void CXXNameMangler::mangleQualifiers(Qualifiers Quals,
const DependentAddressSp
//::= U
//::= U
+llvm::Triple Triple = getASTContext().getTargetInfo().getTriple();
abhina-sree wrote:
Thanks for catching, I fixed t
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/102469
>From e5139d8079471ac6e6f0d76f36ed7ef593fff1b7 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Thu, 8 Aug 2024 09:57:03 -0400
Subject: [PATCH 1/2] [NFC] Remove unnecessary copy of Triple in
Ita
https://github.com/abhina-sree edited
https://github.com/llvm/llvm-project/pull/102469
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree edited
https://github.com/llvm/llvm-project/pull/102469
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/102469
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -532,9 +532,371 @@ bool SystemZTargetCodeGenInfo::isVectorTypeBased(const
Type *Ty,
return false;
}
+//===--===//
+// z/OS XPLINK ABI Implementation
+//===
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/82
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
abhina-sree wrote:
> https://github.com/llvm/llvm-project/blob/main/clang/lib/Lex/PPDirectives.cpp#L3964-L3990
Yes I think we still require specifying the Text/Binary parameter based on the
context of where it is called. I will look into adding the new virtual
functions as an alternative solu
abhina-sree wrote:
> The default is set to OF_Text instead of OF_None, this change in value does
> not affect any other platforms other than z/OS. Setting this parameter
> correctly is required to open files on z/OS in the correct encoding. The
> IsText parameter is based on the context of whe
@@ -302,6 +305,17 @@ class RealFileSystem : public FileSystem {
return Storage;
}
+ ErrorOr> openFileForRead(const Twine &Name,
abhina-sree wrote:
I don't think I'm able to mark it static because it calls adjustPath which is
non-static
https://github
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From 8443744a40bd1397155ea9d91fbe720a8826139d Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH 1/2] [SystemZ][z/OS] Add new openFileForReadBinary f
@@ -324,6 +330,17 @@ ErrorOr RealFileSystem::status(const Twine &Path) {
ErrorOr>
RealFileSystem::openFileForRead(const Twine &Name) {
+ SmallString<256> RealName, Storage;
abhina-sree wrote:
I've created a private function for both functions to call, thanks
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From c1676e48a587e10ba54c28e99192fd5e6a36f72e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH] [SystemZ][z/OS] Add new openFileForReadBinary funct
@@ -117,8 +117,12 @@ FileSystem::~FileSystem() = default;
ErrorOr>
FileSystem::getBufferForFile(const llvm::Twine &Name, int64_t FileSize,
- bool RequiresNullTerminator, bool IsVolatile) {
- auto F = openFileForRead(Name);
+
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/111723
This patch adds an IsText parameter to the following getBufferForFile,
getBufferForFileImpl. We introduce a new virtual function openFileForReadBinary
which defaults to openFileForRead except in RealFileSys
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From c1676e48a587e10ba54c28e99192fd5e6a36f72e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH 1/2] [SystemZ][z/OS] Add new openFileForReadBinary f
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From c1676e48a587e10ba54c28e99192fd5e6a36f72e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH 1/2] [SystemZ][z/OS] Add new openFileForReadBinary f
abhina-sree wrote:
> @abhina-sree do you plan to modify embed in this PR?
Actually Sean has pointed out that if we pass in non-ascii inputs, the tests do
in fact fail. So I will look into passing the IsText parameter in the necessary
functions. Thanks for pointing this out!
https://github.com
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From c1676e48a587e10ba54c28e99192fd5e6a36f72e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH 1/3] [SystemZ][z/OS] Add new openFileForReadBinary f
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From c1676e48a587e10ba54c28e99192fd5e6a36f72e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH 1/2] [SystemZ][z/OS] Add new openFileForReadBinary f
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From c1676e48a587e10ba54c28e99192fd5e6a36f72e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH 1/3] [SystemZ][z/OS] Add new openFileForReadBinary f
abhina-sree wrote:
@cor3ntin, I've added support for #embed handling now, I've added a z/OS only
testcase clang/test/Preprocessor/embed_zos.c which is a copy of
clang/test/Preprocessor/embed_art.c except it changes the file tag to be
non-ascii which is now working with the latest commit.
http
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From c1676e48a587e10ba54c28e99192fd5e6a36f72e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH 1/3] [SystemZ][z/OS] Add new openFileForReadBinary f
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/111723
>From c1676e48a587e10ba54c28e99192fd5e6a36f72e Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 9 Oct 2024 13:23:41 -0400
Subject: [PATCH 1/3] [SystemZ][z/OS] Add new openFileForReadBinary f
https://github.com/abhina-sree approved this pull request.
LGTM, can we add [SystemZ][z/OS] in the title to make it consistent with other
PRs
https://github.com/llvm/llvm-project/pull/111053
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http
1 - 100 of 162 matches
Mail list logo