MaskRay wrote: > @MaskRay the reason for adding this option is that gcc supports it. please > refer to [godbolt.org/z/54sE6zTa1](https://godbolt.org/z/54sE6zTa1)
This doesn't answer my question. GCC has a lot of options that Clang doesn't support. An option supported by GCC does not mean that Clang needs to support it. This option has perfect replacement, which makes it even questionable (since to the best of my knowledge `-export-dynamic` driver option is not used) See my previous comment: > GCC's default spec file for Linux does not say how -export-dynamic translates > to ld -export-dynamic. > > I think ld --export-dynamic is exclusively caused by -Wl,--export-dynamic or > -rdynamic. > Do you have any example of gcc -export-dynamic uses? https://github.com/llvm/llvm-project/pull/72781 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits