[flang-commits] [PATCH] D158957: [flang][runtime] Avoid dependency on libc++ for `std::__libcpp_verbose_abort`
Markus Mützel via Phabricator via flang-commits
flang-commits at lists.llvm.org
Fri Sep 1 08:57:23 PDT 2023
mmuetzel added a comment.
In D158957#4634449 <https://reviews.llvm.org/D158957#4634449>, @klausler wrote:
> Is it known which files in flang/runtime produce this dependency on __libcpp_verbose_abort()? Or which functions? The runtime never uses std::get() on a variant, so there's no chance of that going wrong.
>
> If the dependency on __libcpp_verbose_abort() arises from just a few code sites, there's a good chance that we could adjust them to avoid the problem.
I guess one of the places could be here (where `_u` is a `std::variant` afaict):
https://github.com/llvm/llvm-project/blob/main/flang/runtime/io-stmt.h#L113-L122
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158957/new/
https://reviews.llvm.org/D158957
More information about the flang-commits
mailing list