components/llvm/patches/030-solaris-exception-demo.patch
changeset 6512 92717ce71105
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/llvm/patches/030-solaris-exception-demo.patch	Thu Jul 28 16:25:34 2016 -0700
@@ -0,0 +1,17 @@
+# Miscellaneous fixes.
+# Not for upstream, because we only build this in DEBUG mode
+# and we neve package it.
+--- examples/ExceptionDemo/ExceptionDemo.cpp	2015-09-18 14:15:45.000000000 -0700
++++ examples/ExceptionDemo/ExceptionDemo.cpp	2016-05-11 18:59:34.443949997 -0700
+@@ -233,8 +233,9 @@
+        i != theArgNames.size();
+        ++argIndex, ++i) {
+ 
+-    argIndex->setName(theArgNames[i]);
+-    namedValues[theArgNames[i]] = argIndex;
++    std::string Name = theArgNames[i];
++    argIndex->setName(Name);
++    namedValues[Name] = &*argIndex;
+   }
+ 
+   return(ret);