updated to work with LLVM version 2fa9e6ca34a1f696904c0b8006c91d64679c2b51