diff options
-rw-r--r-- | lib/Lex/Pragma.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/Pragma.cpp b/lib/Lex/Pragma.cpp index 3499ca0299..783900de46 100644 --- a/lib/Lex/Pragma.cpp +++ b/lib/Lex/Pragma.cpp @@ -605,7 +605,7 @@ struct PragmaDebugHandler : public PragmaHandler { } void DebugCrash() { - *(int*) 0x11 = 0; + *(volatile int*) 0x11 = 0; } }; |