[PATCH] D74166: [AIX][Frontend] Static init implementation for AIX considering no priority

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 12:57:07 PST 2020


sfertile added inline comments.


================
Comment at: clang/lib/CodeGen/CGDeclCXX.cpp:283
   llvm::FunctionCallee atexit =
-      CGM.CreateRuntimeFunction(atexitTy, "atexit", llvm::AttributeList(),
-                                /*Local=*/true);
+      CGM.CreateRuntimeFunction(atexitTy, "atexit", llvm::AttributeList());
   if (llvm::Function *atexitFn = dyn_cast<llvm::Function>(atexit.getCallee()))
----------------
The default value for `Local` is false, was this change intentional? If so why is it needed?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74166





More information about the llvm-commits mailing list