MaskRay added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:2087
// Not support linker relaxation for PIC.
- SmallDataLimit = "0";
if (Args.hasArg(options::OPT_G)) {
D.Diag(diag::warn_drv_unsupported_sdata);
----------------
The code is written in a confusing way with several problems including the
unclear diagnostic. I just left a comment on
https://reviews.llvm.org/D57497#4399715 and don't want to address them in this
patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152279/new/
https://reviews.llvm.org/D152279
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits