[PATCH] D148953: [llvm][ADT] Fix Any linker error with multiple compilers

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 01:40:08 PDT 2023


sebastian-ne marked an inline comment as done.
sebastian-ne added a comment.

Thanks for the quote from wikipedia!

> Would this not be an ABI bug in those compilers that needs to be fixed there?

One could stand on the point that if objects from different compilers are linked, the user needs to supply `-f[no-]zero-initialized-in-bss` to make sure they behave the same.
As this instance of such behavior is easy enough to fix in code, I think we can do that in LLVM.

Not sure if it is justified to backport this patch in LLVM or in Rust’s LLVM fork.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148953



More information about the llvm-commits mailing list