bryant added a comment. What happens if there's a conflict between a meta-renamed function and originally named extern? For instance, declare void @pluto() define void @dont_rename_lib_funcs(...) { ; metarenames to pluto. ... } ? Repository: rL LLVM https://reviews.llvm.org/D31304