Issue |
81652
|
Summary |
Use `HIDE_FROM_ABI` in the dylib
|
Labels |
new issue
|
Assignees |
|
Reporter |
mordante
|
I think this should be `HIDE_FROM_ABI`. Otherwise, we'll have potential ODR violations when mixing different versions of libc++ via static archives. This seems to be a widespread pre-existing problem in the library after a quick survey.
This would force you to define it in the header because `HIDE_FROM_ABI` is `ALWAYS_INLINE` on GCC. I think it would be acceptable to ignore this issue until we've cleaned that up, since I feel like this is a very deep can of worms to open.
_Originally posted by @ldionne in https://github.com/llvm/llvm-project/pull/74928#discussion_r1488330937_
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs