[llvm] 5f2ce19 - [MachO] Add comments to explain the semantics of chained fixups structures.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 19:25:05 PDT 2023
Author: Davide Italiano
Date: 2023-05-30T19:24:56-07:00
New Revision: 5f2ce1981593d6e877d4879bdb46152cf6a444db
URL: https://github.com/llvm/llvm-project/commit/5f2ce1981593d6e877d4879bdb46152cf6a444db
DIFF: https://github.com/llvm/llvm-project/commit/5f2ce1981593d6e877d4879bdb46152cf6a444db.diff
LOG: [MachO] Add comments to explain the semantics of chained fixups structures.
Added:
Modified:
llvm/include/llvm/BinaryFormat/MachO.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/BinaryFormat/MachO.h b/llvm/include/llvm/BinaryFormat/MachO.h
index 474480f9f0c1..8f47fabf286b 100644
--- a/llvm/include/llvm/BinaryFormat/MachO.h
+++ b/llvm/include/llvm/BinaryFormat/MachO.h
@@ -1039,8 +1039,8 @@ enum {
// Values for dyld_chained_starts_in_segment::page_start.
enum {
DYLD_CHAINED_PTR_START_NONE = 0xFFFF,
- DYLD_CHAINED_PTR_START_MULTI = 0x8000,
- DYLD_CHAINED_PTR_START_LAST = 0x8000,
+ DYLD_CHAINED_PTR_START_MULTI = 0x8000, // page which has multiple starts
+ DYLD_CHAINED_PTR_START_LAST = 0x8000, // last chain_start for a given page
};
// Values for dyld_chained_starts_in_segment::pointer_format.
More information about the llvm-commits
mailing list