aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-29 02:46:02 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-29 02:46:02 +0000
commit5595b2e72f896dcff45d9518f18167f049fbf6b7 (patch)
tree45c4510fc62fe174757716050b7a2d7ab2e77ca5
parentee5dcd064a811edc90f6c1fb31a837b6c961fed7 (diff)
Transcribe clattner email to SVN.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109727 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Lex/Pragma.cpp2
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;
}
};