Closed Thyre closed 6 months ago
Thank you for the report, I will look at it.
Hi Thyre,
TAU has been updated to apply the change for LLVM 18. However, the public repository is updated at night, so you won't be able to clone the updated version of TAU(from this repository) until tomorrow.
If you find any issues, please report them.
LLVM 18 has changed handling of pointer types, which causes some functions to not exist anymore. This affects TAU 2.33.1 and the mirrored state, where
Type::getInt8PtrTy
is still being used.https://github.com/UO-OACISS/tau2/blob/b140a6bcfbb6d39b9c71a75890822ca7c7c202a2/plugins/llvm/src/Instrument.cpp#L187
When trying to compile this with LLVM 18.1.1, we end up with:
In Score-P (not upstreamed in GitLab mirror yet), we use these functions to convert the pointer types based on the LLVM version: