hubert.reinterpretcast added inline comments.

================
Comment at: clang/lib/Driver/ToolChains/ZOS.h:25
+
+  bool isPICDefault() const override { return false; }
+  bool isPIEDefault() const override { return false; }
----------------
According to the RFC re: LLVM on z/OS, the initial support in LLVM for z/OS is 
only for XPLink. My understanding is that all XPLink applications are 
DLL-enabled. Does being DLL-enabled not imply that the code is 
position-independent?

I understand that the value of the `__DLL__` predefined macro from the XL C 
compiler does not reflect the implicit DLL-enablement of XPLink code; however, 
I also note that the same compiler claims falsely that `Option NODLL is ignored 
because option XPLINK is specified` when `-qnodll` does actually suppress the 
effect of an earlier `-qdll` in causing `__DLL__` to be defined.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86707/new/

https://reviews.llvm.org/D86707

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to