[PATCH] D70344: [macho] Allow CPUSubtype to be adjusted before writing it to a file

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 13:18:17 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc941db5b1acd: [macho] Allow CPUSubtype to be adjusted before writing it to a file (authored by dsanders).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70344/new/

https://reviews.llvm.org/D70344

Files:
  llvm/include/llvm/MC/MCMachObjectWriter.h


Index: llvm/include/llvm/MC/MCMachObjectWriter.h
===================================================================
--- llvm/include/llvm/MC/MCMachObjectWriter.h
+++ llvm/include/llvm/MC/MCMachObjectWriter.h
@@ -28,7 +28,9 @@
 class MCMachObjectTargetWriter : public MCObjectTargetWriter {
   const unsigned Is64Bit : 1;
   const uint32_t CPUType;
-  const uint32_t CPUSubtype;
+protected:
+  uint32_t CPUSubtype;
+public:
   unsigned LocalDifference_RIT;
 
 protected:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70344.229911.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191118/4ef13f6d/attachment.bin>


More information about the llvm-commits mailing list