================
@@ -375,6 +375,41 @@ GOFFObjectFile::getSymbolSection(DataRefImpl Symb) const {
std::to_string(SymEdId));
}
+uint32_t GOFFObjectFile::getZOSSymbolArchiveAttributes(DataRefImpl Symb) const
{
+ const uint8_t *SymRecord = getSymbolEsdRecord(Symb);
+ uint32_t Attrs = 0;
+
+ // Bit 2 (0x4): 64-bit — AMODE is only defined for LD/ER records.
----------------
daltenty wrote:
nit: I can find some documentation which seems to indicate an ED can have a
default AMODE that takes effect if there is no AMODE on the label, but other
sources indicate it cannot. Let's follow up about this offline.
https://github.com/llvm/llvm-project/pull/214528
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits