After PrePrunePass claimOrExternalizeWeakAndCommonSymbols, a defined symbol might become external. So determine a function call is external or not when building the linkgraph is not accurate. This largely affects updating TOC pointer on PowerPC. TOC pointer is supposed to be the same in one object file(if no mulitple TOC appears) and is updated when control flow transferred to another object file.
This patch defers checking a function call is external or not, in buildTables_ELF_ppc64 which is a PostPrunePass.
This patch fixes failures when jitlink -orc-runtime=/path/to/libort_rt.a is used.