[clang] [llvm] [AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (PR #67999)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 07:48:45 PST 2024


================
@@ -245,6 +245,30 @@ class PPCSubtarget : public PPCGenSubtargetInfo {
   /// True if the GV will be accessed via an indirect symbol.
   bool isGVIndirectSymbol(const GlobalValue *GV) const;
 
+  bool tocDataChecks(unsigned PointerSize, const GlobalVariable *GV) const {
----------------
diggerlin wrote:

and it is not a good idea to put a big function in the header file

https://github.com/llvm/llvm-project/pull/67999


More information about the cfe-commits mailing list