Changeset 229420 in webkit
- Timestamp:
- Mar 8, 2018 11:25:17 AM (6 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r229412 r229420 1 2018-03-08 Keith Miller <keith_miller@apple.com> 2 3 Use asm instead of __asm__ in WTFBreakpointTrap so MSVC builds 4 https://bugs.webkit.org/show_bug.cgi?id=183465 5 6 Reviewed by Michael Saboff. 7 8 * wtf/Assertions.h: 9 1 10 2018-03-07 Filip Pizlo <fpizlo@apple.com> 2 11 -
trunk/Source/WTF/wtf/Assertions.h
r229409 r229420 212 212 #define WTFBreakpointTrap() __builtin_trap() 213 213 #elif CPU(X86_64) || CPU(X86) 214 #define WTFBreakpointTrap() __asm__volatile ("int3")214 #define WTFBreakpointTrap() asm volatile ("int3") 215 215 #elif CPU(ARM_THUMB2) 216 #define WTFBreakpointTrap() __asm__volatile ("bkpt #0")216 #define WTFBreakpointTrap() asm volatile ("bkpt #0") 217 217 #elif CPU(ARM64) 218 #define WTFBreakpointTrap() __asm__volatile ("brk #0")218 #define WTFBreakpointTrap() asm volatile ("brk #0") 219 219 #else 220 220 #define WTFBreakpointTrap() WTFCrash() // Not implemented.
Note: See TracChangeset
for help on using the changeset viewer.