[llvm-dev] How does LLVM know where to resolve declared only functions?

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Sun Jan 27 19:57:34 PST 2019


> At this point the .o doesn't specify where puts should be found.

If the glibc's puts() call a function f() in glibc, and I define
another f() in main.ll, will the f() in main.ll be called by glibc's
puts() or the f() in glibc be called? Thanks.

-- 
Regards,
Peng


More information about the llvm-dev mailing list