https://github.com/efriedma-quic approved this pull request.

LGTM

The questions that I came up with while reviewing:

- Does this affect other targets?

It looks like it affects Lanai, but that difference seems fine.  It looks like 
it doesn't affect anything else in-tree; in particular, the overrides just 
return the default for size=0.  Maybe out-of-tree, but we can't really do much 
about that (unless we want to add a separate target hook, but that seems like 
overkill).

- Are there any possible side-effects?

Given the actual usage, this seems safe enough.  I'm a little concerned about 
people doing weird stuff with extern globals and linker scripts, but it looks 
like none of the targets where that would matter are actually impacted by this.

https://github.com/llvm/llvm-project/pull/72886
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to