lib: add some more functions
llvm-builder: handle newer lib
analyze_res: add