aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJinsong Ji <jji@us.ibm.com>2021-08-18 17:20:18 +0000
committerJinsong Ji <jji@us.ibm.com>2021-08-18 17:45:39 +0000
commit66e2772e4285588ccc3bcdb5f392c8326debbd7d (patch)
treefa8b472331cc89287668a6692baabee318998ea5 /llvm/lib/CodeGen/MachineFunction.cpp
parent6d7ea597efee6398c4bf09a0d60a870c67ef2764 (diff)
downloadllvm-66e2772e4285588ccc3bcdb5f392c8326debbd7d.zip
llvm-66e2772e4285588ccc3bcdb5f392c8326debbd7d.tar.gz
llvm-66e2772e4285588ccc3bcdb5f392c8326debbd7d.tar.bz2
[InstrProfiling] Support relative CountersPtr for PlatformOther
D104556 change the CountersPtr to be relative, however, it did not update the pointer initialization in __llvm_profile_register_function, so the platform (eg:AIX) that use __llvm_profile_register_function is now totaly broken, any PGO code will SEGV. This patch update the code to reflect that the Data->CountersPtr is now relative. Reviewed By: MaskRay, davidxl Differential Revision: https://reviews.llvm.org/D108304
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions