Closed adrianherrera closed 1 year ago
Looks good, thanks @adrianherrera!
Just a heads up: I believe we can delete that function entirely now, since we're no longer on LLVM 7. I only added it because it wasn't a public LLVM API at the time 🙂
@woodruffw ah right, good to know. I wasn't sure how far back cclyzer++ went with LLVM versions.
@langston-barrett can correct me, but I believe the minimum LLVM version was 9 last time I checked.
Yeah, I was going to post an issue to this effect, but it's actually not clear to me that isItaniumEncoding
is part of LLVM's public API? I see it here:
but not here:
https://llvm.org/doxygen/Demangle_8h.html
Current supported LLVM versions are LLVM 14-12 (doc), but the CI also builds against LLVM 15.
Hey @langston-barrett! Just a tiny mod from me; moving
is_itanium_encoding
from theFactGenerator
to theDemangler
. I think this makes sense (as it's related to demangling) and means I can access the encoding check from outside the fact generator.Cheers!!