[PATCH] Fix "#pragma clang __debug overflow_stack" for MSVC builds

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Aug 28 14:42:17 PDT 2014


There is a FIXME in test/Makefile about moving the ULIMIT setting from the Makefile to lit. The Make bug you found is another reason to do it, but that can be in another patch.

================
Comment at: lib/Lex/Pragma.cpp:929
@@ -928,2 +928,3 @@
   static void DebugOverflowStack() {
+    void* StackUser = &StackUser;
     void (*volatile Self)() = DebugOverflowStack;
----------------
Add a comment explaining what this is.

http://reviews.llvm.org/D5109






More information about the cfe-commits mailing list