<div>Hello,<br></div><div><br></div><div>I would like to ask whether there is a definite way to distinguish between user-defined and library functions in an LLVM IR Pass (IR emitted by Clang from C++, if it matters, but would prefer a cross-language solution).<br></div><div><br></div><div>I tried checking for unmangled names, linkage etc., but did not manage to find an accurate solution.<br></div><div><br></div><div>Thank you very much in advance. ðŸ™‚<br></div><div><br></div>