[PATCH] D102453: [CMake][ELF] Add -fno-semantic-interposition for GCC and Clang>=13

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 11 03:58:42 PDT 2021


uabelho added a comment.

I noticed that when I compile this patch with gcc 9.3.0 I suddenly see

  1122/2282] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Archive.cpp.o
  In file included from ../lib/Object/Archive.cpp:13:
  ../include/llvm/Object/Archive.h: In member function 'llvm::object::Archive::child_iterator llvm::object::Archive::child_end() const':
  ../include/llvm/Object/Archive.h:147:48: warning: '*((void*)&<anonymous> +40)' is used uninitialized in this function [-Wuninitialized]
    147 |     ChildFallibleIterator(const Child &C) : C(C) {}

Do you know if this is anything to worry about?
I just noticed the warning when compiling after a pull.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102453



More information about the llvm-commits mailing list