adding patch for LLVM 3.4 for bug #712
Merge pull request #737 from ifilippov/err

Adding patch for LLVM 3.4 for bug #712