Changeset 265113 in webkit
- Timestamp:
- Jul 30, 2020 3:26:01 PM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r265112 r265113 1 2020-07-30 Keith Miller <keith_miller@apple.com> 2 3 Compute number of PAC bits from what the OS says its address space is 4 https://bugs.webkit.org/show_bug.cgi?id=214986 5 6 Reviewed by Saam Barati. 7 8 * assembler/MacroAssemblerARM64E.h: 9 1 10 2020-07-30 Caio Lima <ticaiolima@gmail.com> 2 11 -
trunk/Source/JavaScriptCore/assembler/MacroAssemblerARM64E.h
r250654 r265113 40 40 class MacroAssemblerARM64E : public MacroAssemblerARM64 { 41 41 public: 42 static constexpr unsigned numberOfPACBits = 25;42 static constexpr unsigned numberOfPACBits = WTF::maximumNumberOfPointerAuthenticationBits; 43 43 static constexpr uintptr_t nonPACBitsMask = (1ull << (64 - numberOfPACBits)) - 1; 44 44 -
trunk/Source/WTF/ChangeLog
r265057 r265113 1 2020-07-30 Keith Miller <keith_miller@apple.com> 2 3 Compute number of PAC bits from what the OS says its address space is 4 https://bugs.webkit.org/show_bug.cgi?id=214986 5 6 Reviewed by Saam Barati. 7 8 * wtf/CagedPtr.h: 9 * wtf/PtrTag.h: 10 1 11 2020-07-29 Fujii Hironori <Hironori.Fujii@sony.com> 2 12 -
trunk/Source/WTF/wtf/CagedPtr.h
r260289 r265113 40 40 public: 41 41 static constexpr Gigacage::Kind kind = passedKind; 42 static constexpr unsigned numberOfPACBits = 25;42 static constexpr unsigned numberOfPACBits = maximumNumberOfPointerAuthenticationBits; 43 43 static constexpr uintptr_t nonPACBitsMask = (1ull << ((sizeof(T*) * CHAR_BIT) - numberOfPACBits)) - 1; 44 44 -
trunk/Source/WTF/wtf/PtrTag.h
r261877 r265113 28 28 #include <wtf/Assertions.h> 29 29 #include <wtf/DataLog.h> 30 #include <wtf/MathExtras.h> 30 31 31 32 namespace WTF { 33 34 #if CPU(ARM64E) 35 constexpr unsigned maximumNumberOfPointerAuthenticationBits = 64 - OS_CONSTANT(EFFECTIVE_ADDRESS_WIDTH); 36 #else // CPU(ARM64E) 37 constexpr unsigned maximumNumberOfPointerAuthenticationBits = 0; 38 #endif // CPU(ARM64E) 39 32 40 33 41 #define FOR_EACH_BASE_WTF_PTRTAG(v) \
Note: See TracChangeset
for help on using the changeset viewer.