Open pmor13 opened 2 months ago
-frecord-command-line
(alias: -frecord-gcc-switches
) requirements implementation for each object file format. We need to decide the section name, flags, content, etc.
In GCC, https://gcc.gnu.org/onlinedocs/gccint/File-Framework.html#index-TARGET_005fASM_005fRECORD_005fGCC_005fSWITCHES this option is only implemented for ELF.
% x86_64-w64-mingw32-gcc -c -frecord-gcc-switches -c x.c
cc1: note: ‘-frecord-gcc-switches’ is not supported by the current target
Scenario:
How
-frecord-command-line
is related to targetx86_64-w64-windows-gnu
?I thought that
-frecord-command-line
is target independent.Is this Clang / LLVM issue or Android NDK issue?