diff options
| author | Patrick Simmons <psimmons@pensando.io> | 2025-10-16 11:24:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-16 18:24:06 +0200 |
| commit | be3aa41ecc9b6cc68248e660a30829a16eda26b3 (patch) | |
| tree | e455beadda4497aa1c384ef2c9c2b8225b1a54f7 /llvm/lib/Support/SourceMgr.cpp | |
| parent | 8fa4a1029cbad3c788a90152cf978f8233a6f87f (diff) | |
| download | llvm-be3aa41ecc9b6cc68248e660a30829a16eda26b3.zip llvm-be3aa41ecc9b6cc68248e660a30829a16eda26b3.tar.gz llvm-be3aa41ecc9b6cc68248e660a30829a16eda26b3.tar.bz2 | |
[Flang-RT] Fix GCC 15.1 Fortran Runtime libstdc++ Undefined Symbols (#157385)
Define the _GLIBCXX_THROW_OR_ABORT macro to not use its _EXC argument. _EXC may contain an expression constructing an std::exception object which is non-inline and therefore require a link dependency on the libstdc++ runtime. In -fno-exceptions builds it is typically optimized away when appearing in unreachable code, but is still present when compiling with -O0 when compiling with Clang.
---------
Co-authored-by: Michael Kruse <github@meinersbur.de>
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions
