support LLVM
Merge pull request #801 from ifilippov/master

support LLVM trunk