[PATCH] D113040: [lld-macho] Change bitfield types to be identical.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 12:49:06 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGae31f9fbaddd: [lld-macho] Change bitfield types to be identical. (authored by oontvoo).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113040

Files:
  lld/MachO/Symbols.h


Index: lld/MachO/Symbols.h
===================================================================
--- lld/MachO/Symbols.h
+++ lld/MachO/Symbols.h
@@ -103,10 +103,10 @@
 
 public:
   // True if this symbol was referenced by a regular (non-bitcode) object.
-  bool isUsedInRegularObj : 1;
+  uint8_t isUsedInRegularObj : 1;
 
   // True if an undefined or dylib symbol is used from a live section.
-  bool used : 1;
+  uint8_t used : 1;
 };
 
 class Defined : public Symbol {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113040.384192.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211102/ac39d98a/attachment.bin>


More information about the llvm-commits mailing list