sync with llvm

Fix build errors with new API.

Signed-off-by: Xi Wang <xi.wang@gmail.com>