================
@@ -2179,3 +2217,26 @@ void createProfileSamplingVar(Module &M) {
   appendToCompilerUsed(M, SamplingVar);
 }
 } // namespace llvm
+
+namespace {
+
+// For GPU targets: Allocate contiguous arrays for all profile data.
+// This solves the linker reordering problem by using ONE symbol per section
+// type, so there's nothing for the linker to reorder.
+StructType *InstrLowerer::getProfileDataTy() {
----------------
yxsamliu wrote:

will do

https://github.com/llvm/llvm-project/pull/177665
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [clang] [... Yaxun Liu via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... Joseph Huber via cfe-commits
    • [cla... Joseph Huber via cfe-commits
    • [cla... Joseph Huber via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... LLVM Continuous Integration via cfe-commits
    • [cla... Valentin Clement バレンタイン クレメン via cfe-commits
    • [cla... LLVM Continuous Integration via cfe-commits
    • [cla... LLVM Continuous Integration via cfe-commits
    • [cla... LLVM Continuous Integration via cfe-commits

Reply via email to