[PATCH] D101323: [AIX] Avoid use of mtim.tv_nsec member of stat structure on AIX

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 26 15:30:45 PDT 2021


hubert.reinterpretcast added inline comments.


================
Comment at: llvm/cmake/config-ix.cmake:285
+# The st_mtim.tv_nsec member of a `stat` structure is not reliable on some AIX
+# environments.
+  set(HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 0)
----------------
jsji wrote:
> Maybe add a warning here about we are forcing it to 0?
As discussed off-list: For a platform where Clang and LLVM is relatively new, I don't think this leads to a loss of functionality at the level where a warning is warranted. The autodetection is going to set this to 0 on some platforms anyway.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101323



More information about the cfe-commits mailing list