[llvm] [PowerPC][AIX] Emit PowerPC version for XCOFF (PR #113214)

Kai Nacke via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 14:05:32 PST 2024


================
@@ -36,6 +36,8 @@ class MCObjectWriter {
   SmallVector<std::pair<std::string, size_t>, 0> FileNames;
   // XCOFF specific: Optional compiler version.
   std::string CompilerVersion;
+  // AIX specific: CPU type.
+  std::string CPUType;
----------------
redstar wrote:

This (and the setter below) can be moved to the XCOFFObjectWriter, since this is the only user.

https://github.com/llvm/llvm-project/pull/113214


More information about the llvm-commits mailing list