Grab the LLVMContext and parent Module of SI ahead of the
point where SI can get deleted. This fixes a use of free'd memory.
This fixes Externals/Povray.

llvm-svn: 77285
1 file changed
tree: 32e670b59b45fc76d4953c002549c3d8b48d6ea6
  1. clang/
  2. compiler-rt/
  3. llvm/