[clang] [llvm] [AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (PR #67999)
via llvm-commits
llvm-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:
the function always return true.
suggestion change
`bool tocDataChecks(unsigned PointerSize, const GlobalVariable *GV) const`
--->
`void tocDataChecks(unsigned PointerSize, const GlobalVariable *GV) const`
https://github.com/llvm/llvm-project/pull/67999
More information about the llvm-commits
mailing list