https://github.com/dongjianqiang2 closed
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
dongjianqiang2 wrote:
> export-dynamic
In that case, we have got to change `-exxx` to `-e xxx`, and `-export-dynamic`
to `-rdynamic`. LGTM, and it follows GCC's official documented spec : )
https://github.com/llvm/llvm-project/pull/72781
___
MaskRay wrote:
GCC compatibility certainly matters a lot, but I feel that some of my previous
points are ignored. My previous replies asked us to focus on other respects (a)
whether the behavior makes sense or makes things more error-prone (b) whether
not supporting it causes us trouble (c)
dongjianqiang2 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
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
dongjianqiang2 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
brad0 wrote:
I have never seen such usage before. You're supposed to use ```-rdynamic```.
https://github.com/llvm/llvm-project/pull/72781
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
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
dongjianqiang2 wrote:
@MaskRay the reason for adding this option is that gcc supports it. please
refer to https://godbolt.org/z/54sE6zTa1
https://github.com/llvm/llvm-project/pull/72781
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/dongjianqiang2 reopened
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
dongjianqiang2 wrote:
> 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/dongjianqiang2 closed
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
MaskRay wrote:
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?
We probably should just
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-driver
Author: dong jianqiang (dongjianqiang2)
Changes
clang splits -export-dynamic into "-e" and "xport-dynamic", and gets ld
warning: cannot find entry symbol xport-dynamic; defaulting to , which is
unexpected
https://github.com/dongjianqiang2 created
https://github.com/llvm/llvm-project/pull/72781
clang splits -export-dynamic into "-e" and "xport-dynamic", and gets ld
warning: cannot find entry symbol xport-dynamic; defaulting to , which is
unexpected from user.
Adjust the driver to support
15 matches
Mail list logo