[llvm] [clang] [SystemZ][z/OS] This change adds support for the PPA2 section in zOS (PR #68926)
Yusra Syeda via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 22 16:08:07 PST 2023
================
@@ -1026,6 +1030,71 @@ void SystemZAsmPrinter::emitADASection() {
OutStreamer->popSection();
}
+static uint32_t getProductVersion(Module &M) {
+ if (auto *VersionVal = mdconst::extract_or_null<ConstantInt>(
+ M.getModuleFlag("zos_product_major_version")))
+ return VersionVal->getValue().getZExtValue();
----------------
ysyeda wrote:
Done
https://github.com/llvm/llvm-project/pull/68926
More information about the cfe-commits
mailing list