This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG46d019041cd9: [OpenMP] Improve symbol resolution for OpenMP
Offloading LTO (authored by jhuber6).
Repository:
rG LLVM Github Monorepo
CHANGES SIN
jhuber6 added inline comments.
Comment at: clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp:777-781
+// Record if we've seen these symbols in any object or shared
libraries.
+if ((*ObjFile)->isRelocatableObject()) {
+ UsedInRegularObj[*Name] = tru
tianshilei1992 added a comment.
LG with one nit.
Comment at: clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp:777-781
+// Record if we've seen these symbols in any object or shared
libraries.
+if ((*ObjFile)->isRelocatableObject()) {
+ UsedInReg
jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, JonChesterfield, ronlieb, saiislam.
Herald added subscribers: guansong, inglorion, yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
This patch improv