update to llvm r216518

Fixed two API issues. Patch provided by Markus Trippelsdorf.