Issue 107083
Summary __llvm_profile_counter_bias etc. should be intptr_t
Labels new issue
Assignees
Reporter rorth
    While investigating Issue #101667 and later PR #102747, it was discovered that `clang` and `compiler-rt` are inconsistent about
the types of `__llvm_profile_counter_bias` and `__llvm_profile_bitmap_bias`: while `clang` creates them as `int64_t`, `compiler-rt`
had them as `intptr_t`.  While PR #102747 changed `compiler-rt` to match `clang` here, both variables could just be `intptr_t` to
match their use.  While such a change is a no-op for 64-bit targets, for 32-bit targets this causes an incompatible change for the profile file format, meaning some effort to support the new version.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to