[flang-commits] [PATCH] D104290: [flang] Check there's no dependency on C++ libs

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jun 15 09:27:53 PDT 2021


klausler added a comment.

I would like to have some automated check in the build that would catch an inadvertent binary dependency, but this scheme seems to admit false negative results when the linkage is static.

I have an extra step in my build that scrapes the runtime libraries' binaries' unsatisfied external symbols in search of mangled C++ names, but that's obviously not portable.

When the llvm tree can build an end-to-end Fortran compiler, if we're allowed to have end-to-end Fortran compilation tests, they'll be better checks for C++-free linking.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104290/new/

https://reviews.llvm.org/D104290



More information about the flang-commits mailing list