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

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 13:52:39 PDT 2023


dblaikie added a comment.

> My take on all this is that there is no compiler bug. Where these kind of constructs end up is a bit of a grey area.

> Compilers do it differently but there are options to force a behavior or another.

That two compilers that are trying to be ABI compatible (if they weren't trying, even basic things wouldn't work) aren't... is a pretty good sign this is a bug. Yeah, there are usually flags you can pass that might break ABI compatibility - but the default in this instance seems to be intending to be ABI compatible and is not.


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