Missing compile instructions in README (to get flashable archive)
Closed this issue · 15 comments
Run the following cmds in the root directory of the kernel sources:
CLANG_DIRECTORY=#your clang directory
GCC_DIRECTORY=#your aarch64-linux-android-4.9 directory
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
Output files are in the out folder (Image/dtb/dtbo.img, kernel modules *.ko)
For example
projectPath=$myPath CLANG_DIRECTORY=$projectPath/toolchains/clang GCC_DIRECTORY=$projectPath/toolchains/gcc #Or maybe $projectPath/toolchains/clang/runtimes_ndk_cxx/aarch64 $projectPath/include/uapi/linux/android JOBS=$(( `nproc` - 1 )) export PATH=$CLANG_DIRECTORY/bin:$PATH export ARCH=arm64 export LLVM=1 mkdir out make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- $CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko anykernel/anykernel.sh $projectPath/out
Use the same cmds as #1 (comment), replace only the CLANG_DIRECTORY and GCC_DIRECTORY env variables with your clang and gcc toolchains path. To create an AnyKernel3 flashable zip please refer to the README in its repo.
Use the same cmds as #1 (comment)
CLANG_DIRECTORY=clang
GCC_DIRECTORY=aarch64linuxandroid
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
, replace only the CLANG_DIRECTORY
1,2c1,3
< #your directory
---
> $projectPath/toolchains/
and GCC_DIRECTORY env variables with your clang and gcc toolchains path.
1,2c1,3
< #your ---4.9 directory
---
> $projectPath/toolchains/gcc #Or maybe $projectPath/toolchains/clang/runtimes_ndk_cxx/ $projectPath/include/uapi//
To create an AnyKernel3 flashable zip please refer to the README in its repo.
> projectPath=$myPath
10a12
> anykernel/anykernel.sh $projectPath/out
@BlackMesa123 BlackMesa123 closed this as not planned
Won't fix, can't repro, duplicate, stale
Mar 24, 2023
Why not planned?
Attempt 1
set -xv ~@$HOST
projectPath=git/mck
cd $projectPath
projectPath=.
CLANG_DIRECTORY=$projectPath/toolchains/clang
GCC_DIRECTORY=$projectPath/toolchains/gcc #Or maybe $projectPath/toolchains/clang/runtimes_ndk_cxx/aarch64 $projectPath/include/uapi/linux/android
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
anykernel/anykernel.sh $projectPath/out
set +xv
+/bin/zsh:94> projectPath=git/mck
+/bin/zsh:95> cd git/mck
+/bin/zsh:96> projectPath=.
+/bin/zsh:97> CLANG_DIRECTORY=./toolchains/clang
+/bin/zsh:98> GCC_DIRECTORY=./toolchains/gcc
+/bin/zsh:99> JOBS=+/bin/zsh:99> nproc
+/bin/zsh:99> JOBS=11
+/bin/zsh:100> export PATH=./toolchains/clang/bin:git/mck/toolchains/clang/bin:/toolchains/clang/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
+/bin/zsh:101> export ARCH=arm64
+/bin/zsh:102> export LLVM=1
+/bin/zsh:103> mkdir out
+/bin/zsh:104> pwd
+/bin/zsh:104> pwd
+/bin/zsh:104> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=./toolchains/gcc/bin/aarch64-linux-android-' 'REAL_CC=./toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-' vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (./toolchains/gcc/bin)
***
*** The source tree is not clean, please run 'make ARCH=arm64 mrproper'
*** in /home/$USER/git/mck
***
make[1]: *** [/home/$USER/git/mck/Makefile:549: outputmakefile] Error 1
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:105> pwd
+/bin/zsh:105> pwd
+/bin/zsh:105> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=./toolchains/gcc/bin/aarch64-linux-android-' 'REAL_CC=./toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-'
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (./toolchains/gcc/bin)
***
*** The source tree is not clean, please run 'make ARCH=arm64 mrproper'
*** in /home/$USER/git/mck
***
make[1]: *** [/home/$USER/git/mck/Makefile:549: outputmakefile] Error 1
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:106> pwd
zsh: no matches found: /home/$USER/git/mck/out/*.ko
+/bin/zsh:107> anykernel/anykernel.sh ./out
zsh: no such file or directory: anykernel/anykernel.sh
+/bin/zsh:108> set +xv
Attempt 2
set -xv
projectPath=git/mck
cd $projectPath
projectPath=.
CLANG_DIRECTORY=$projectPath/toolchains/clang
GCC_DIRECTORY=$projectPath/toolchains/gcc #Or maybe $projectPath/toolchains/clang/runtimes_ndk_cxx/aarch64 $projectPath/include/uapi/linux/android
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make ARCH=arm64 mrproper
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
anykernel/anykernel.sh $projectPath/out
set +xv
+/bin/zsh:2> projectPath=git/mck
+/bin/zsh:3> cd git/mck
+/bin/zsh:4> projectPath=.
+/bin/zsh:5> CLANG_DIRECTORY=./toolchains/clang
+/bin/zsh:6> GCC_DIRECTORY=./toolchains/gcc
+/bin/zsh:7> JOBS=+/bin/zsh:7> nproc
+/bin/zsh:7> JOBS=11
+/bin/zsh:8> export PATH=./toolchains/clang/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
+/bin/zsh:9> export ARCH=arm64
+/bin/zsh:10> export LLVM=1
+/bin/zsh:11> mkdir out
mkdir: cannot create directory ‘out’: File exists
+/bin/zsh:12> make 'ARCH=arm64' mrproper
kperfmon_DUMMY="CONFIG_KPERFMON is off."
cp: cannot stat './../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat './../../system/logging/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat './../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
Target not found
CLEAN usr
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN scripts/mod
CLEAN scripts/selinux/genheaders
CLEAN scripts/selinux/mdp
CLEAN scripts
CLEAN include/config include/generated
CLEAN .config
+/bin/zsh:13> pwd
+/bin/zsh:13> pwd
+/bin/zsh:13> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=./toolchains/gcc/bin/aarch64-linux-android-' 'REAL_CC=./toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-' vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (./toolchains/gcc/bin)
scripts/Kconfig.include:36: linker 'ld.lld' not found
make[2]: *** [../scripts/kconfig/Makefile:90: vendor/mesa_a52sxq_eur_open_defconfig] Error 1
make[1]: *** [/home/$USER/git/mck/Makefile:608: vendor/mesa_a52sxq_eur_open_defconfig] Error 2
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:14> pwd
+/bin/zsh:14> pwd
+/bin/zsh:14> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=./toolchains/gcc/bin/aarch64-linux-android-' 'REAL_CC=./toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-'
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (./toolchains/gcc/bin)
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
/home/$USER/git/mck/Makefile:706: include/config/auto.conf.cmd: No such file or directory
make[1]: *** [/home/$USER/git/mck/Makefile:715: .config] Error 1
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:15> pwd
zsh: no matches found: /home/$USER/git/mck/out/*.ko
+/bin/zsh:16> anykernel/anykernel.sh ./out
zsh: no such file or directory: anykernel/anykernel.sh
+/bin/zsh:17> set +xv
Attempt 3
set -xv 130 ↵
projectPath=git/mck
cd $projectPath
projectPath=.
CLANG_DIRECTORY=$projectPath/toolchains/clang
GCC_DIRECTORY=$projectPath/toolchains/gcc #Or maybe $projectPath/toolchains/clang/runtimes_ndk_cxx/aarch64 $projectPath/include/uapi/linux/android
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make ARCH=arm64 mrproper
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make oldconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
anykernel/anykernel.sh $projectPath/out
set +xv
+/bin/zsh:58> projectPath=git/mck
+/bin/zsh:59> cd git/mck
+/bin/zsh:60> projectPath=.
+/bin/zsh:61> CLANG_DIRECTORY=./toolchains/clang
+/bin/zsh:62> GCC_DIRECTORY=./toolchains/gcc
+/bin/zsh:63> JOBS=+/bin/zsh:63> nproc
+/bin/zsh:63> JOBS=11
+/bin/zsh:64> export PATH=./toolchains/clang/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
+/bin/zsh:65> export ARCH=arm64
+/bin/zsh:66> export LLVM=1
+/bin/zsh:67> mkdir out
mkdir: cannot create directory ‘out’: File exists
+/bin/zsh:68> make 'ARCH=arm64' mrproper
kperfmon_DUMMY="CONFIG_KPERFMON is off."
cp: cannot stat './../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat './../../system/logging/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat './../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
Target not found
+/bin/zsh:69> pwd
+/bin/zsh:69> pwd
+/bin/zsh:69> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=./toolchains/gcc/bin/aarch64-linux-android-' 'REAL_CC=./toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-' vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (./toolchains/gcc/bin)
scripts/Kconfig.include:36: linker 'ld.lld' not found
make[2]: *** [../scripts/kconfig/Makefile:90: vendor/mesa_a52sxq_eur_open_defconfig] Error 1
make[1]: *** [/home/$USER/git/mck/Makefile:608: vendor/mesa_a52sxq_eur_open_defconfig] Error 2
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:70> make oldconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
*
* Restart config...
*
*
* General setup
*
Compile also drivers which will not load (COMPILE_TEST) [N/y/?] (NEW)
[...]
#Questions: Infinity War; Leadind to abandon and no successful compiling
which: no aarch64-linux-android-elfedit in (./toolchains/gcc/bin)
Clearly an issue with your toolchain paths, please check if they're correct and also contain the corrent toolchain files (clang r416183b1, gcc aarch64-linux-android-4.9). I also have no idea why you're trying to run the AnyKernel flash script in your PC.
which: no aarch64-linux-android-elfedit in (./toolchains/gcc/bin)
Clearly an issue with your toolchain paths, please check if they're correct and also contain the corrent toolchain files (clang r416183b1, gcc aarch64-linux-android-4.9). I also have no idea why you're trying to run the AnyKernel flash script in your PC.
tree /home/$USER/git/mck/toolchains
/home/$USER/git/mck/toolchains
├── clang
│ ├── AndroidVersion.txt
│ ├── MODULE_LICENSE_BSD_LIKE
│ ├── MODULE_LICENSE_MIT
│ ├── NOTICE
│ ├── bin
│ │ ├── bisect_driver.py
│ │ ├── clang
│ │ ├── clang++
│ │ ├── clang++.real -> clang.real
│ │ ├── clang-11
│ │ ├── clang-check
│ │ ├── clang-cl -> clang
│ │ ├── clang-format
│ │ ├── clang-tidy
│ │ ├── clang-tidy.real
│ │ ├── clang.real -> clang-11
│ │ ├── dsymutil
│ │ ├── git-clang-format
│ │ ├── ld.lld -> lld
│ │ ├── ld64.lld -> lld
│ │ ├── lld
│ │ ├── lld-link -> lld
│ │ ├── lldb
│ │ ├── lldb-argdumper
│ │ ├── llvm-addr2line -> llvm-symbolizer
│ │ ├── llvm-ar
│ │ ├── llvm-as
│ │ ├── llvm-cfi-verify
│ │ ├── llvm-config
│ │ ├── llvm-cov
│ │ ├── llvm-dis
│ │ ├── llvm-dwarfdump
│ │ ├── llvm-lib -> llvm-ar
│ │ ├── llvm-link
│ │ ├── llvm-modextract
│ │ ├── llvm-nm
│ │ ├── llvm-objcopy
│ │ ├── llvm-objdump
│ │ ├── llvm-profdata
│ │ ├── llvm-ranlib -> llvm-ar
│ │ ├── llvm-rc
│ │ ├── llvm-readelf -> llvm-readobj
│ │ ├── llvm-readobj
│ │ ├── llvm-size
│ │ ├── llvm-strings
│ │ ├── llvm-strip -> llvm-objcopy
│ │ ├── llvm-symbolizer
│ │ ├── remote_toolchain_inputs
│ │ ├── sancov
│ │ ├── sanstats
│ │ ├── scan-build
│ │ └── scan-view
│ ├── include
│ │ ├── c++
│ │ │ └── v1
│ │ │ ├── __bit_reference
│ │ │ ├── __bsd_locale_defaults.h
│ │ │ ├── __bsd_locale_fallbacks.h
│ │ │ ├── __config
│ │ │ ├── __cxxabi_config.h
│ │ │ ├── __debug
│ │ │ ├── __errc
│ │ │ ├── __functional_03
│ │ │ ├── __functional_base
│ │ │ ├── __functional_base_03
│ │ │ ├── __hash_table
│ │ │ ├── __libcpp_version
│ │ │ ├── __locale
│ │ │ ├── __mutex_base
│ │ │ ├── __node_handle
│ │ │ ├── __nullptr
│ │ │ ├── __split_buffer
│ │ │ ├── __sso_allocator
│ │ │ ├── __std_stream
│ │ │ ├── __string
│ │ │ ├── __threading_support
│ │ │ ├── __tree
│ │ │ ├── __tuple
│ │ │ ├── __undef_macros
│ │ │ ├── algorithm
│ │ │ ├── any
│ │ │ ├── array
│ │ │ ├── atomic
│ │ │ ├── bit
│ │ │ ├── bitset
│ │ │ ├── cassert
│ │ │ ├── ccomplex
│ │ │ ├── cctype
│ │ │ ├── cerrno
│ │ │ ├── cfenv
│ │ │ ├── cfloat
│ │ │ ├── charconv
│ │ │ ├── chrono
│ │ │ ├── cinttypes
│ │ │ ├── ciso646
│ │ │ ├── climits
│ │ │ ├── clocale
│ │ │ ├── cmath
│ │ │ ├── codecvt
│ │ │ ├── compare
│ │ │ ├── complex
│ │ │ ├── complex.h
│ │ │ ├── condition_variable
│ │ │ ├── csetjmp
│ │ │ ├── csignal
│ │ │ ├── cstdarg
│ │ │ ├── cstdbool
│ │ │ ├── cstddef
│ │ │ ├── cstdint
│ │ │ ├── cstdio
│ │ │ ├── cstdlib
│ │ │ ├── cstring
│ │ │ ├── ctgmath
│ │ │ ├── ctime
│ │ │ ├── ctype.h
│ │ │ ├── cwchar
│ │ │ ├── cwctype
│ │ │ ├── cxxabi.h
│ │ │ ├── deque
│ │ │ ├── errno.h
│ │ │ ├── exception
│ │ │ ├── execution
│ │ │ ├── experimental
│ │ │ │ ├── __config
│ │ │ │ ├── __memory
│ │ │ │ ├── algorithm
│ │ │ │ ├── coroutine
│ │ │ │ ├── deque
│ │ │ │ ├── filesystem
│ │ │ │ ├── forward_list
│ │ │ │ ├── functional
│ │ │ │ ├── iterator
│ │ │ │ ├── list
│ │ │ │ ├── map
│ │ │ │ ├── memory_resource
│ │ │ │ ├── propagate_const
│ │ │ │ ├── regex
│ │ │ │ ├── set
│ │ │ │ ├── simd
│ │ │ │ ├── string
│ │ │ │ ├── type_traits
│ │ │ │ ├── unordered_map
│ │ │ │ ├── unordered_set
│ │ │ │ ├── utility
│ │ │ │ └── vector
│ │ │ ├── ext
│ │ │ │ ├── __hash
│ │ │ │ ├── hash_map
│ │ │ │ └── hash_set
│ │ │ ├── fenv.h
│ │ │ ├── filesystem
│ │ │ ├── float.h
│ │ │ ├── forward_list
│ │ │ ├── fstream
│ │ │ ├── functional
│ │ │ ├── future
│ │ │ ├── initializer_list
│ │ │ ├── inttypes.h
│ │ │ ├── iomanip
│ │ │ ├── ios
│ │ │ ├── iosfwd
│ │ │ ├── iostream
│ │ │ ├── istream
│ │ │ ├── iterator
│ │ │ ├── limits
│ │ │ ├── limits.h
│ │ │ ├── list
│ │ │ ├── locale
│ │ │ ├── locale.h
│ │ │ ├── map
│ │ │ ├── math.h
│ │ │ ├── memory
│ │ │ ├── module.modulemap
│ │ │ ├── mutex
│ │ │ ├── new
│ │ │ ├── numeric
│ │ │ ├── optional
│ │ │ ├── ostream
│ │ │ ├── queue
│ │ │ ├── random
│ │ │ ├── ratio
│ │ │ ├── regex
│ │ │ ├── scoped_allocator
│ │ │ ├── set
│ │ │ ├── setjmp.h
│ │ │ ├── shared_mutex
│ │ │ ├── span
│ │ │ ├── sstream
│ │ │ ├── stack
│ │ │ ├── stdbool.h
│ │ │ ├── stddef.h
│ │ │ ├── stdexcept
│ │ │ ├── stdint.h
│ │ │ ├── stdio.h
│ │ │ ├── stdlib.h
│ │ │ ├── streambuf
│ │ │ ├── string
│ │ │ ├── string.h
│ │ │ ├── string_view
│ │ │ ├── strstream
│ │ │ ├── support
│ │ │ │ ├── android
│ │ │ │ │ └── locale_bionic.h
│ │ │ │ ├── fuchsia
│ │ │ │ │ └── xlocale.h
│ │ │ │ ├── ibm
│ │ │ │ │ ├── limits.h
│ │ │ │ │ ├── locale_mgmt_aix.h
│ │ │ │ │ ├── support.h
│ │ │ │ │ └── xlocale.h
│ │ │ │ ├── musl
│ │ │ │ │ └── xlocale.h
│ │ │ │ ├── newlib
│ │ │ │ │ └── xlocale.h
│ │ │ │ ├── solaris
│ │ │ │ │ ├── floatingpoint.h
│ │ │ │ │ ├── wchar.h
│ │ │ │ │ └── xlocale.h
│ │ │ │ ├── win32
│ │ │ │ │ ├── limits_msvc_win32.h
│ │ │ │ │ └── locale_win32.h
│ │ │ │ └── xlocale
│ │ │ │ ├── __nop_locale_mgmt.h
│ │ │ │ ├── __posix_l_fallback.h
│ │ │ │ └── __strtonum_fallback.h
│ │ │ ├── system_error
│ │ │ ├── tgmath.h
│ │ │ ├── thread
│ │ │ ├── tuple
│ │ │ ├── type_traits
│ │ │ ├── typeindex
│ │ │ ├── typeinfo
│ │ │ ├── unordered_map
│ │ │ ├── unordered_set
│ │ │ ├── utility
│ │ │ ├── valarray
│ │ │ ├── variant
│ │ │ ├── vector
│ │ │ ├── version
│ │ │ ├── wchar.h
│ │ │ └── wctype.h
│ │ ├── clang
│ │ │ ├── ARCMigrate
│ │ │ │ ├── ARCMT.h
│ │ │ │ ├── ARCMTActions.h
│ │ │ │ └── FileRemapper.h
│ │ │ ├── AST
│ │ │ │ ├── APValue.h
│ │ │ │ ├── AST.h
│ │ │ │ ├── ASTConcept.h
│ │ │ │ ├── ASTConsumer.h
│ │ │ │ ├── ASTContext.h
│ │ │ │ ├── ASTContextAllocate.h
│ │ │ │ ├── ASTDiagnostic.h
│ │ │ │ ├── ASTDumper.h
│ │ │ │ ├── ASTDumperUtils.h
│ │ │ │ ├── ASTFwd.h
│ │ │ │ ├── ASTImporter.h
│ │ │ │ ├── ASTImporterLookupTable.h
│ │ │ │ ├── ASTImporterSharedState.h
│ │ │ │ ├── ASTLambda.h
│ │ │ │ ├── ASTMutationListener.h
│ │ │ │ ├── ASTNodeTraverser.h
│ │ │ │ ├── ASTStructuralEquivalence.h
│ │ │ │ ├── ASTTypeTraits.h
│ │ │ │ ├── ASTUnresolvedSet.h
│ │ │ │ ├── ASTVector.h
│ │ │ │ ├── AbstractBasicReader.h
│ │ │ │ ├── AbstractBasicReader.inc
│ │ │ │ ├── AbstractBasicWriter.h
│ │ │ │ ├── AbstractBasicWriter.inc
│ │ │ │ ├── AbstractTypeReader.h
│ │ │ │ ├── AbstractTypeReader.inc
│ │ │ │ ├── AbstractTypeWriter.h
│ │ │ │ ├── AbstractTypeWriter.inc
│ │ │ │ ├── Attr.h
│ │ │ │ ├── AttrImpl.inc
│ │ │ │ ├── AttrIterator.h
│ │ │ │ ├── AttrNodeTraverse.inc
│ │ │ │ ├── AttrTextNodeDump.inc
│ │ │ │ ├── AttrVisitor.h
│ │ │ │ ├── AttrVisitor.inc
│ │ │ │ ├── Attrs.inc
│ │ │ │ ├── Availability.h
│ │ │ │ ├── BaseSubobject.h
│ │ │ │ ├── BuiltinTypes.def
│ │ │ │ ├── CXXInheritance.h
│ │ │ │ ├── CXXRecordDeclDefinitionBits.def
│ │ │ │ ├── CanonicalType.h
│ │ │ │ ├── CharUnits.h
│ │ │ │ ├── Comment.h
│ │ │ │ ├── CommentBriefParser.h
│ │ │ │ ├── CommentCommandInfo.inc
│ │ │ │ ├── CommentCommandList.inc
│ │ │ │ ├── CommentCommandTraits.h
│ │ │ │ ├── CommentDiagnostic.h
│ │ │ │ ├── CommentHTMLNamedCharacterReferences.inc
│ │ │ │ ├── CommentHTMLTags.inc
│ │ │ │ ├── CommentHTMLTagsProperties.inc
│ │ │ │ ├── CommentLexer.h
│ │ │ │ ├── CommentNodes.inc
│ │ │ │ ├── CommentParser.h
│ │ │ │ ├── CommentSema.h
│ │ │ │ ├── CommentVisitor.h
│ │ │ │ ├── ComparisonCategories.h
│ │ │ │ ├── CurrentSourceLocExprScope.h
│ │ │ │ ├── DataCollection.h
│ │ │ │ ├── Decl.h
│ │ │ │ ├── DeclAccessPair.h
│ │ │ │ ├── DeclBase.h
│ │ │ │ ├── DeclCXX.h
│ │ │ │ ├── DeclContextInternals.h
│ │ │ │ ├── DeclFriend.h
│ │ │ │ ├── DeclGroup.h
│ │ │ │ ├── DeclLookups.h
│ │ │ │ ├── DeclNodes.inc
│ │ │ │ ├── DeclObjC.h
│ │ │ │ ├── DeclOpenMP.h
│ │ │ │ ├── DeclTemplate.h
│ │ │ │ ├── DeclVisitor.h
│ │ │ │ ├── DeclarationName.h
│ │ │ │ ├── DependentDiagnostic.h
│ │ │ │ ├── EvaluatedExprVisitor.h
│ │ │ │ ├── Expr.h
│ │ │ │ ├── ExprCXX.h
│ │ │ │ ├── ExprConcepts.h
│ │ │ │ ├── ExprObjC.h
│ │ │ │ ├── ExprOpenMP.h
│ │ │ │ ├── ExternalASTMerger.h
│ │ │ │ ├── ExternalASTSource.h
│ │ │ │ ├── FormatString.h
│ │ │ │ ├── GlobalDecl.h
│ │ │ │ ├── JSONNodeDumper.h
│ │ │ │ ├── LambdaCapture.h
│ │ │ │ ├── LexicallyOrderedRecursiveASTVisitor.h
│ │ │ │ ├── LocInfoType.h
│ │ │ │ ├── Mangle.h
│ │ │ │ ├── MangleNumberingContext.h
│ │ │ │ ├── NSAPI.h
│ │ │ │ ├── NestedNameSpecifier.h
│ │ │ │ ├── NonTrivialTypeVisitor.h
│ │ │ │ ├── ODRHash.h
│ │ │ │ ├── OSLog.h
│ │ │ │ ├── OpenMPClause.h
│ │ │ │ ├── OperationKinds.def
│ │ │ │ ├── OperationKinds.h
│ │ │ │ ├── OptionalDiagnostic.h
│ │ │ │ ├── ParentMap.h
│ │ │ │ ├── ParentMapContext.h
│ │ │ │ ├── PrettyDeclStackTrace.h
│ │ │ │ ├── PrettyPrinter.h
│ │ │ │ ├── QualTypeNames.h
│ │ │ │ ├── RawCommentList.h
│ │ │ │ ├── RecordLayout.h
│ │ │ │ ├── RecursiveASTVisitor.h
│ │ │ │ ├── Redeclarable.h
│ │ │ │ ├── SelectorLocationsKind.h
│ │ │ │ ├── Stmt.h
│ │ │ │ ├── StmtCXX.h
│ │ │ │ ├── StmtDataCollectors.inc
│ │ │ │ ├── StmtGraphTraits.h
│ │ │ │ ├── StmtIterator.h
│ │ │ │ ├── StmtNodes.inc
│ │ │ │ ├── StmtObjC.h
│ │ │ │ ├── StmtOpenMP.h
│ │ │ │ ├── StmtVisitor.h
│ │ │ │ ├── TemplateArgumentVisitor.h
│ │ │ │ ├── TemplateBase.h
│ │ │ │ ├── TemplateName.h
│ │ │ │ ├── TextNodeDumper.h
│ │ │ │ ├── Type.h
│ │ │ │ ├── TypeLoc.h
│ │ │ │ ├── TypeLocNodes.def
│ │ │ │ ├── TypeLocVisitor.h
│ │ │ │ ├── TypeNodes.inc
│ │ │ │ ├── TypeOrdering.h
│ │ │ │ ├── TypeVisitor.h
│ │ │ │ ├── UnresolvedSet.h
│ │ │ │ ├── VTTBuilder.h
│ │ │ │ └── VTableBuilder.h
│ │ │ ├── ASTMatchers
│ │ │ │ ├── ASTMatchFinder.h
│ │ │ │ ├── ASTMatchers.h
│ │ │ │ ├── ASTMatchersInternal.h
│ │ │ │ ├── ASTMatchersMacros.h
│ │ │ │ └── Dynamic
│ │ │ │ ├── Diagnostics.h
│ │ │ │ ├── Parser.h
│ │ │ │ ├── Registry.h
│ │ │ │ └── VariantValue.h
│ │ │ ├── Analysis
│ │ │ │ ├── Analyses
│ │ │ │ │ ├── CFGReachabilityAnalysis.h
│ │ │ │ │ ├── Consumed.h
│ │ │ │ │ ├── Dominators.h
│ │ │ │ │ ├── ExprMutationAnalyzer.h
│ │ │ │ │ ├── LiveVariables.h
│ │ │ │ │ ├── PostOrderCFGView.h
│ │ │ │ │ ├── ReachableCode.h
│ │ │ │ │ ├── ThreadSafety.h
│ │ │ │ │ ├── ThreadSafetyCommon.h
│ │ │ │ │ ├── ThreadSafetyLogical.h
│ │ │ │ │ ├── ThreadSafetyOps.def
│ │ │ │ │ ├── ThreadSafetyTIL.h
│ │ │ │ │ ├── ThreadSafetyTraverse.h
│ │ │ │ │ ├── ThreadSafetyUtil.h
│ │ │ │ │ └── UninitializedValues.h
│ │ │ │ ├── AnalysisDeclContext.h
│ │ │ │ ├── AnalysisDiagnostic.h
│ │ │ │ ├── AnyCall.h
│ │ │ │ ├── BodyFarm.h
│ │ │ │ ├── CFG.h
│ │ │ │ ├── CFGStmtMap.h
│ │ │ │ ├── CallGraph.h
│ │ │ │ ├── CloneDetection.h
│ │ │ │ ├── CodeInjector.h
│ │ │ │ ├── ConstructionContext.h
│ │ │ │ ├── DomainSpecific
│ │ │ │ │ ├── CocoaConventions.h
│ │ │ │ │ └── ObjCNoReturn.h
│ │ │ │ ├── FlowSensitive
│ │ │ │ │ ├── DataflowValues.h
│ │ │ │ │ └── DataflowWorklist.h
│ │ │ │ ├── PathDiagnostic.h
│ │ │ │ ├── ProgramPoint.h
│ │ │ │ ├── RetainSummaryManager.h
│ │ │ │ ├── SelectorExtras.h
│ │ │ │ └── Support
│ │ │ │ └── BumpVector.h
│ │ │ ├── Basic
│ │ │ │ ├── AArch64SVEACLETypes.def
│ │ │ │ ├── ABI.h
│ │ │ │ ├── AddressSpaces.h
│ │ │ │ ├── AlignedAllocation.h
│ │ │ │ ├── AllDiagnostics.h
│ │ │ │ ├── AttrHasAttributeImpl.inc
│ │ │ │ ├── AttrKinds.h
│ │ │ │ ├── AttrList.inc
│ │ │ │ ├── AttrSubMatchRulesList.inc
│ │ │ │ ├── AttrSubjectMatchRules.h
│ │ │ │ ├── AttributeCommonInfo.h
│ │ │ │ ├── Attributes.h
│ │ │ │ ├── BitmaskEnum.h
│ │ │ │ ├── Builtins.def
│ │ │ │ ├── Builtins.h
│ │ │ │ ├── BuiltinsAArch64.def
│ │ │ │ ├── BuiltinsAMDGPU.def
│ │ │ │ ├── BuiltinsARM.def
│ │ │ │ ├── BuiltinsBPF.def
│ │ │ │ ├── BuiltinsHexagon.def
│ │ │ │ ├── BuiltinsHexagonDep.def
│ │ │ │ ├── BuiltinsLe64.def
│ │ │ │ ├── BuiltinsMips.def
│ │ │ │ ├── BuiltinsNEON.def
│ │ │ │ ├── BuiltinsNVPTX.def
│ │ │ │ ├── BuiltinsPPC.def
│ │ │ │ ├── BuiltinsSystemZ.def
│ │ │ │ ├── BuiltinsWebAssembly.def
│ │ │ │ ├── BuiltinsX86.def
│ │ │ │ ├── BuiltinsX86_64.def
│ │ │ │ ├── BuiltinsXCore.def
│ │ │ │ ├── CapturedStmt.h
│ │ │ │ ├── CharInfo.h
│ │ │ │ ├── CodeGenOptions.def
│ │ │ │ ├── CodeGenOptions.h
│ │ │ │ ├── CommentOptions.h
│ │ │ │ ├── Cuda.h
│ │ │ │ ├── DebugInfoOptions.h
│ │ │ │ ├── Diagnostic.h
│ │ │ │ ├── DiagnosticAST.h
│ │ │ │ ├── DiagnosticASTKinds.inc
│ │ │ │ ├── DiagnosticAnalysis.h
│ │ │ │ ├── DiagnosticAnalysisKinds.inc
│ │ │ │ ├── DiagnosticCategories.h
│ │ │ │ ├── DiagnosticComment.h
│ │ │ │ ├── DiagnosticCommentKinds.inc
│ │ │ │ ├── DiagnosticCommonKinds.inc
│ │ │ │ ├── DiagnosticCrossTU.h
│ │ │ │ ├── DiagnosticCrossTUKinds.inc
│ │ │ │ ├── DiagnosticDriver.h
│ │ │ │ ├── DiagnosticDriverKinds.inc
│ │ │ │ ├── DiagnosticError.h
│ │ │ │ ├── DiagnosticFrontend.h
│ │ │ │ ├── DiagnosticFrontendKinds.inc
│ │ │ │ ├── DiagnosticGroups.inc
│ │ │ │ ├── DiagnosticIDs.h
│ │ │ │ ├── DiagnosticIndexName.inc
│ │ │ │ ├── DiagnosticLex.h
│ │ │ │ ├── DiagnosticLexKinds.inc
│ │ │ │ ├── DiagnosticOptions.def
│ │ │ │ ├── DiagnosticOptions.h
│ │ │ │ ├── DiagnosticParse.h
│ │ │ │ ├── DiagnosticParseKinds.inc
│ │ │ │ ├── DiagnosticRefactoring.h
│ │ │ │ ├── DiagnosticRefactoringKinds.inc
│ │ │ │ ├── DiagnosticSema.h
│ │ │ │ ├── DiagnosticSemaKinds.inc
│ │ │ │ ├── DiagnosticSerialization.h
│ │ │ │ ├── DiagnosticSerializationKinds.inc
│ │ │ │ ├── ExceptionSpecificationType.h
│ │ │ │ ├── ExpressionTraits.h
│ │ │ │ ├── Features.def
│ │ │ │ ├── FileManager.h
│ │ │ │ ├── FileSystemOptions.h
│ │ │ │ ├── FileSystemStatCache.h
│ │ │ │ ├── FixedPoint.h
│ │ │ │ ├── IdentifierTable.h
│ │ │ │ ├── JsonSupport.h
│ │ │ │ ├── LLVM.h
│ │ │ │ ├── Lambda.h
│ │ │ │ ├── LangOptions.def
│ │ │ │ ├── LangOptions.h
│ │ │ │ ├── LangStandard.h
│ │ │ │ ├── LangStandards.def
│ │ │ │ ├── Linkage.h
│ │ │ │ ├── MSP430Target.def
│ │ │ │ ├── MacroBuilder.h
│ │ │ │ ├── Module.h
│ │ │ │ ├── ObjCRuntime.h
│ │ │ │ ├── OpenCLExtensionTypes.def
│ │ │ │ ├── OpenCLExtensions.def
│ │ │ │ ├── OpenCLImageTypes.def
│ │ │ │ ├── OpenCLOptions.h
│ │ │ │ ├── OpenMPKinds.def
│ │ │ │ ├── OpenMPKinds.h
│ │ │ │ ├── OperatorKinds.def
│ │ │ │ ├── OperatorKinds.h
│ │ │ │ ├── OperatorPrecedence.h
│ │ │ │ ├── PartialDiagnostic.h
│ │ │ │ ├── PlistSupport.h
│ │ │ │ ├── PragmaKinds.h
│ │ │ │ ├── PrettyStackTrace.h
│ │ │ │ ├── SanitizerBlacklist.h
│ │ │ │ ├── SanitizerSpecialCaseList.h
│ │ │ │ ├── Sanitizers.def
│ │ │ │ ├── Sanitizers.h
│ │ │ │ ├── SourceLocation.h
│ │ │ │ ├── SourceManager.h
│ │ │ │ ├── SourceManagerInternals.h
│ │ │ │ ├── Specifiers.h
│ │ │ │ ├── Stack.h
│ │ │ │ ├── SyncScope.h
│ │ │ │ ├── TargetBuiltins.h
│ │ │ │ ├── TargetCXXABI.h
│ │ │ │ ├── TargetInfo.h
│ │ │ │ ├── TargetOptions.h
│ │ │ │ ├── TemplateKinds.h
│ │ │ │ ├── TokenKinds.def
│ │ │ │ ├── TokenKinds.h
│ │ │ │ ├── TypeTraits.h
│ │ │ │ ├── Version.h
│ │ │ │ ├── Version.inc
│ │ │ │ ├── Visibility.h
│ │ │ │ ├── X86Target.def
│ │ │ │ ├── XRayInstr.h
│ │ │ │ ├── XRayLists.h
│ │ │ │ ├── arm_fp16.inc
│ │ │ │ ├── arm_mve_builtin_aliases.inc
│ │ │ │ ├── arm_mve_builtin_cg.inc
│ │ │ │ ├── arm_mve_builtin_sema.inc
│ │ │ │ ├── arm_mve_builtins.inc
│ │ │ │ └── arm_neon.inc
│ │ │ ├── CodeGen
│ │ │ │ ├── BackendUtil.h
│ │ │ │ ├── CGFunctionInfo.h
│ │ │ │ ├── CodeGenABITypes.h
│ │ │ │ ├── CodeGenAction.h
│ │ │ │ ├── ConstantInitBuilder.h
│ │ │ │ ├── ConstantInitFuture.h
│ │ │ │ ├── ModuleBuilder.h
│ │ │ │ ├── ObjectFilePCHContainerOperations.h
│ │ │ │ └── SwiftCallingConv.h
│ │ │ ├── Config
│ │ │ │ └── config.h
│ │ │ ├── CrossTU
│ │ │ │ ├── CrossTUDiagnostic.h
│ │ │ │ └── CrossTranslationUnit.h
│ │ │ ├── DirectoryWatcher
│ │ │ │ └── DirectoryWatcher.h
│ │ │ ├── Driver
│ │ │ │ ├── Action.h
│ │ │ │ ├── Compilation.h
│ │ │ │ ├── DarwinSDKInfo.h
│ │ │ │ ├── Distro.h
│ │ │ │ ├── Driver.h
│ │ │ │ ├── DriverDiagnostic.h
│ │ │ │ ├── Job.h
│ │ │ │ ├── Multilib.h
│ │ │ │ ├── OptionUtils.h
│ │ │ │ ├── Options.h
│ │ │ │ ├── Options.inc
│ │ │ │ ├── Phases.h
│ │ │ │ ├── SanitizerArgs.h
│ │ │ │ ├── Tool.h
│ │ │ │ ├── ToolChain.h
│ │ │ │ ├── Types.def
│ │ │ │ ├── Types.h
│ │ │ │ ├── Util.h
│ │ │ │ └── XRayArgs.h
│ │ │ ├── Edit
│ │ │ │ ├── Commit.h
│ │ │ │ ├── EditedSource.h
│ │ │ │ ├── EditsReceiver.h
│ │ │ │ ├── FileOffset.h
│ │ │ │ └── Rewriters.h
│ │ │ ├── Format
│ │ │ │ └── Format.h
│ │ │ ├── Frontend
│ │ │ │ ├── ASTConsumers.h
│ │ │ │ ├── ASTUnit.h
│ │ │ │ ├── ChainedDiagnosticConsumer.h
│ │ │ │ ├── CommandLineSourceLoc.h
│ │ │ │ ├── CompilerInstance.h
│ │ │ │ ├── CompilerInvocation.h
│ │ │ │ ├── DependencyOutputOptions.h
│ │ │ │ ├── DiagnosticRenderer.h
│ │ │ │ ├── FrontendAction.h
│ │ │ │ ├── FrontendActions.h
│ │ │ │ ├── FrontendDiagnostic.h
│ │ │ │ ├── FrontendOptions.h
│ │ │ │ ├── FrontendPluginRegistry.h
│ │ │ │ ├── LayoutOverrideSource.h
│ │ │ │ ├── LogDiagnosticPrinter.h
│ │ │ │ ├── MigratorOptions.h
│ │ │ │ ├── MultiplexConsumer.h
│ │ │ │ ├── PCHContainerOperations.h
│ │ │ │ ├── PrecompiledPreamble.h
│ │ │ │ ├── PreprocessorOutputOptions.h
│ │ │ │ ├── SerializedDiagnosticPrinter.h
│ │ │ │ ├── SerializedDiagnosticReader.h
│ │ │ │ ├── SerializedDiagnostics.h
│ │ │ │ ├── TextDiagnostic.h
│ │ │ │ ├── TextDiagnosticBuffer.h
│ │ │ │ ├── TextDiagnosticPrinter.h
│ │ │ │ ├── Utils.h
│ │ │ │ └── VerifyDiagnosticConsumer.h
│ │ │ ├── FrontendTool
│ │ │ │ └── Utils.h
│ │ │ ├── Index
│ │ │ │ ├── CommentToXML.h
│ │ │ │ ├── DeclOccurrence.h
│ │ │ │ ├── IndexDataConsumer.h
│ │ │ │ ├── IndexSymbol.h
│ │ │ │ ├── IndexingAction.h
│ │ │ │ ├── IndexingOptions.h
│ │ │ │ └── USRGeneration.h
│ │ │ ├── Lex
│ │ │ │ ├── CodeCompletionHandler.h
│ │ │ │ ├── DependencyDirectivesSourceMinimizer.h
│ │ │ │ ├── DirectoryLookup.h
│ │ │ │ ├── ExternalPreprocessorSource.h
│ │ │ │ ├── HeaderMap.h
│ │ │ │ ├── HeaderMapTypes.h
│ │ │ │ ├── HeaderSearch.h
│ │ │ │ ├── HeaderSearchOptions.h
│ │ │ │ ├── LexDiagnostic.h
│ │ │ │ ├── Lexer.h
│ │ │ │ ├── LiteralSupport.h
│ │ │ │ ├── MacroArgs.h
│ │ │ │ ├── MacroInfo.h
│ │ │ │ ├── ModuleLoader.h
│ │ │ │ ├── ModuleMap.h
│ │ │ │ ├── MultipleIncludeOpt.h
│ │ │ │ ├── PPCallbacks.h
│ │ │ │ ├── PPConditionalDirectiveRecord.h
│ │ │ │ ├── Pragma.h
│ │ │ │ ├── PreprocessingRecord.h
│ │ │ │ ├── Preprocessor.h
│ │ │ │ ├── PreprocessorExcludedConditionalDirectiveSkipMapping.h
│ │ │ │ ├── PreprocessorLexer.h
│ │ │ │ ├── PreprocessorOptions.h
│ │ │ │ ├── ScratchBuffer.h
│ │ │ │ ├── Token.h
│ │ │ │ ├── TokenConcatenation.h
│ │ │ │ ├── TokenLexer.h
│ │ │ │ └── VariadicMacroSupport.h
│ │ │ ├── Parse
│ │ │ │ ├── AttrParserStringSwitches.inc
│ │ │ │ ├── AttrSubMatchRulesParserStringSwitches.inc
│ │ │ │ ├── LoopHint.h
│ │ │ │ ├── ParseAST.h
│ │ │ │ ├── ParseDiagnostic.h
│ │ │ │ ├── Parser.h
│ │ │ │ └── RAIIObjectsForParser.h
│ │ │ ├── Rewrite
│ │ │ │ ├── Core
│ │ │ │ │ ├── DeltaTree.h
│ │ │ │ │ ├── HTMLRewrite.h
│ │ │ │ │ ├── RewriteBuffer.h
│ │ │ │ │ ├── RewriteRope.h
│ │ │ │ │ ├── Rewriter.h
│ │ │ │ │ └── TokenRewriter.h
│ │ │ │ └── Frontend
│ │ │ │ ├── ASTConsumers.h
│ │ │ │ ├── FixItRewriter.h
│ │ │ │ ├── FrontendActions.h
│ │ │ │ └── Rewriters.h
│ │ │ ├── Sema
│ │ │ │ ├── AnalysisBasedWarnings.h
│ │ │ │ ├── AttrParsedAttrImpl.inc
│ │ │ │ ├── AttrParsedAttrKinds.inc
│ │ │ │ ├── AttrParsedAttrList.inc
│ │ │ │ ├── AttrSpellingListIndex.inc
│ │ │ │ ├── AttrTemplateInstantiate.inc
│ │ │ │ ├── CXXFieldCollector.h
│ │ │ │ ├── CleanupInfo.h
│ │ │ │ ├── CodeCompleteConsumer.h
│ │ │ │ ├── CodeCompleteOptions.h
│ │ │ │ ├── DeclSpec.h
│ │ │ │ ├── DelayedDiagnostic.h
│ │ │ │ ├── Designator.h
│ │ │ │ ├── ExternalSemaSource.h
│ │ │ │ ├── IdentifierResolver.h
│ │ │ │ ├── Initialization.h
│ │ │ │ ├── Lookup.h
│ │ │ │ ├── MultiplexExternalSemaSource.h
│ │ │ │ ├── ObjCMethodList.h
│ │ │ │ ├── Overload.h
│ │ │ │ ├── Ownership.h
│ │ │ │ ├── ParsedAttr.h
│ │ │ │ ├── ParsedTemplate.h
│ │ │ │ ├── Scope.h
│ │ │ │ ├── ScopeInfo.h
│ │ │ │ ├── Sema.h
│ │ │ │ ├── SemaConcept.h
│ │ │ │ ├── SemaConsumer.h
│ │ │ │ ├── SemaDiagnostic.h
│ │ │ │ ├── SemaFixItUtils.h
│ │ │ │ ├── SemaInternal.h
│ │ │ │ ├── SemaLambda.h
│ │ │ │ ├── Template.h
│ │ │ │ ├── TemplateDeduction.h
│ │ │ │ ├── TemplateInstCallback.h
│ │ │ │ ├── TypoCorrection.h
│ │ │ │ └── Weak.h
│ │ │ ├── Serialization
│ │ │ │ ├── ASTBitCodes.h
│ │ │ │ ├── ASTDeserializationListener.h
│ │ │ │ ├── ASTReader.h
│ │ │ │ ├── ASTRecordReader.h
│ │ │ │ ├── ASTRecordWriter.h
│ │ │ │ ├── ASTWriter.h
│ │ │ │ ├── AttrPCHRead.inc
│ │ │ │ ├── AttrPCHWrite.inc
│ │ │ │ ├── ContinuousRangeMap.h
│ │ │ │ ├── GlobalModuleIndex.h
│ │ │ │ ├── InMemoryModuleCache.h
│ │ │ │ ├── ModuleFile.h
│ │ │ │ ├── ModuleFileExtension.h
│ │ │ │ ├── ModuleManager.h
│ │ │ │ ├── PCHContainerOperations.h
│ │ │ │ ├── SerializationDiagnostic.h
│ │ │ │ └── TypeBitCodes.def
│ │ │ ├── StaticAnalyzer
│ │ │ │ ├── Checkers
│ │ │ │ │ ├── BuiltinCheckerRegistration.h
│ │ │ │ │ ├── Checkers.inc
│ │ │ │ │ ├── LocalCheckers.h
│ │ │ │ │ ├── MPIFunctionClassifier.h
│ │ │ │ │ └── SValExplainer.h
│ │ │ │ ├── Core
│ │ │ │ │ ├── Analyses.def
│ │ │ │ │ ├── AnalyzerOptions.def
│ │ │ │ │ ├── AnalyzerOptions.h
│ │ │ │ │ ├── BugReporter
│ │ │ │ │ │ ├── BugReporter.h
│ │ │ │ │ │ ├── BugReporterVisitors.h
│ │ │ │ │ │ ├── BugType.h
│ │ │ │ │ │ └── CommonBugCategories.h
│ │ │ │ │ ├── Checker.h
│ │ │ │ │ ├── CheckerManager.h
│ │ │ │ │ ├── IssueHash.h
│ │ │ │ │ ├── PathDiagnosticConsumers.h
│ │ │ │ │ └── PathSensitive
│ │ │ │ │ ├── APSIntType.h
│ │ │ │ │ ├── AnalysisManager.h
│ │ │ │ │ ├── BasicValueFactory.h
│ │ │ │ │ ├── BlockCounter.h
│ │ │ │ │ ├── CallEvent.h
│ │ │ │ │ ├── CheckerContext.h
│ │ │ │ │ ├── CheckerHelpers.h
│ │ │ │ │ ├── ConstraintManager.h
│ │ │ │ │ ├── CoreEngine.h
│ │ │ │ │ ├── DynamicCastInfo.h
│ │ │ │ │ ├── DynamicSize.h
│ │ │ │ │ ├── DynamicType.h
│ │ │ │ │ ├── DynamicTypeInfo.h
│ │ │ │ │ ├── Environment.h
│ │ │ │ │ ├── ExplodedGraph.h
│ │ │ │ │ ├── ExprEngine.h
│ │ │ │ │ ├── FunctionSummary.h
│ │ │ │ │ ├── LoopUnrolling.h
│ │ │ │ │ ├── LoopWidening.h
│ │ │ │ │ ├── MemRegion.h
│ │ │ │ │ ├── ProgramState.h
│ │ │ │ │ ├── ProgramStateTrait.h
│ │ │ │ │ ├── ProgramState_Fwd.h
│ │ │ │ │ ├── RangedConstraintManager.h
│ │ │ │ │ ├── Regions.def
│ │ │ │ │ ├── SMTConstraintManager.h
│ │ │ │ │ ├── SMTConv.h
│ │ │ │ │ ├── SValBuilder.h
│ │ │ │ │ ├── SValVisitor.h
│ │ │ │ │ ├── SVals.def
│ │ │ │ │ ├── SVals.h
│ │ │ │ │ ├── SimpleConstraintManager.h
│ │ │ │ │ ├── Store.h
│ │ │ │ │ ├── StoreRef.h
│ │ │ │ │ ├── SubEngine.h
│ │ │ │ │ ├── SummaryManager.h
│ │ │ │ │ ├── SymExpr.h
│ │ │ │ │ ├── SymbolManager.h
│ │ │ │ │ ├── Symbols.def
│ │ │ │ │ └── WorkList.h
│ │ │ │ └── Frontend
│ │ │ │ ├── AnalysisConsumer.h
│ │ │ │ ├── CheckerRegistration.h
│ │ │ │ ├── CheckerRegistry.h
│ │ │ │ ├── FrontendActions.h
│ │ │ │ └── ModelConsumer.h
│ │ │ └── Tooling
│ │ │ ├── ASTDiff
│ │ │ │ ├── ASTDiff.h
│ │ │ │ └── ASTDiffInternal.h
│ │ │ ├── AllTUsExecution.h
│ │ │ ├── ArgumentsAdjusters.h
│ │ │ ├── CommonOptionsParser.h
│ │ │ ├── CompilationDatabase.h
│ │ │ ├── CompilationDatabasePluginRegistry.h
│ │ │ ├── Core
│ │ │ │ ├── Diagnostic.h
│ │ │ │ ├── Lookup.h
│ │ │ │ └── Replacement.h
│ │ │ ├── DependencyScanning
│ │ │ │ ├── DependencyScanningFilesystem.h
│ │ │ │ ├── DependencyScanningService.h
│ │ │ │ ├── DependencyScanningTool.h
│ │ │ │ ├── DependencyScanningWorker.h
│ │ │ │ └── ModuleDepCollector.h
│ │ │ ├── DiagnosticsYaml.h
│ │ │ ├── Execution.h
│ │ │ ├── FileMatchTrie.h
│ │ │ ├── FixIt.h
│ │ │ ├── Inclusions
│ │ │ │ ├── HeaderIncludes.h
│ │ │ │ └── IncludeStyle.h
│ │ │ ├── JSONCompilationDatabase.h
│ │ │ ├── Refactoring
│ │ │ │ ├── ASTSelection.h
│ │ │ │ ├── AtomicChange.h
│ │ │ │ ├── Extract
│ │ │ │ │ ├── Extract.h
│ │ │ │ │ └── SourceExtraction.h
│ │ │ │ ├── RecursiveSymbolVisitor.h
│ │ │ │ ├── RefactoringAction.h
│ │ │ │ ├── RefactoringActionRule.h
│ │ │ │ ├── RefactoringActionRuleRequirements.h
│ │ │ │ ├── RefactoringActionRules.h
│ │ │ │ ├── RefactoringActionRulesInternal.h
│ │ │ │ ├── RefactoringDiagnostic.h
│ │ │ │ ├── RefactoringOption.h
│ │ │ │ ├── RefactoringOptionVisitor.h
│ │ │ │ ├── RefactoringOptions.h
│ │ │ │ ├── RefactoringResultConsumer.h
│ │ │ │ ├── RefactoringRuleContext.h
│ │ │ │ └── Rename
│ │ │ │ ├── RenamingAction.h
│ │ │ │ ├── SymbolName.h
│ │ │ │ ├── SymbolOccurrences.h
│ │ │ │ ├── USRFinder.h
│ │ │ │ ├── USRFindingAction.h
│ │ │ │ └── USRLocFinder.h
│ │ │ ├── Refactoring.h
│ │ │ ├── RefactoringCallbacks.h
│ │ │ ├── ReplacementsYaml.h
│ │ │ ├── StandaloneExecution.h
│ │ │ ├── Syntax
│ │ │ │ ├── BuildTree.h
│ │ │ │ ├── Mutations.h
│ │ │ │ ├── Nodes.h
│ │ │ │ ├── Tokens.h
│ │ │ │ └── Tree.h
│ │ │ ├── ToolExecutorPluginRegistry.h
│ │ │ ├── Tooling.h
│ │ │ └── Transformer
│ │ │ ├── MatchConsumer.h
│ │ │ ├── RangeSelector.h
│ │ │ ├── RewriteRule.h
│ │ │ ├── SourceCode.h
│ │ │ ├── SourceCodeBuilders.h
│ │ │ ├── Stencil.h
│ │ │ └── Transformer.h
│ │ ├── clang-c
│ │ │ ├── BuildSystem.h
│ │ │ ├── CXCompilationDatabase.h
│ │ │ ├── CXErrorCode.h
│ │ │ ├── CXString.h
│ │ │ ├── Documentation.h
│ │ │ ├── ExternC.h
│ │ │ ├── FatalErrorHandler.h
│ │ │ ├── Index.h
│ │ │ └── Platform.h
│ │ ├── clang-tidy
│ │ │ ├── ClangTidy.h
│ │ │ ├── ClangTidyCheck.h
│ │ │ ├── ClangTidyDiagnosticConsumer.h
│ │ │ ├── ClangTidyForceLinker.h
│ │ │ ├── ClangTidyModule.h
│ │ │ ├── ClangTidyModuleRegistry.h
│ │ │ ├── ClangTidyOptions.h
│ │ │ ├── ClangTidyProfiling.h
│ │ │ ├── ExpandModularHeadersPPCallbacks.h
│ │ │ ├── GlobList.h
│ │ │ ├── abseil
│ │ │ │ ├── AbseilMatcher.h
│ │ │ │ ├── DurationAdditionCheck.h
│ │ │ │ ├── DurationComparisonCheck.h
│ │ │ │ ├── DurationConversionCastCheck.h
│ │ │ │ ├── DurationDivisionCheck.h
│ │ │ │ ├── DurationFactoryFloatCheck.h
│ │ │ │ ├── DurationFactoryScaleCheck.h
│ │ │ │ ├── DurationRewriter.h
│ │ │ │ ├── DurationSubtractionCheck.h
│ │ │ │ ├── DurationUnnecessaryConversionCheck.h
│ │ │ │ ├── FasterStrsplitDelimiterCheck.h
│ │ │ │ ├── NoInternalDependenciesCheck.h
│ │ │ │ ├── NoNamespaceCheck.h
│ │ │ │ ├── RedundantStrcatCallsCheck.h
│ │ │ │ ├── StrCatAppendCheck.h
│ │ │ │ ├── StringFindStartswithCheck.h
│ │ │ │ ├── TimeComparisonCheck.h
│ │ │ │ ├── TimeSubtractionCheck.h
│ │ │ │ └── UpgradeDurationConversionsCheck.h
│ │ │ ├── android
│ │ │ │ ├── CloexecAccept4Check.h
│ │ │ │ ├── CloexecAcceptCheck.h
│ │ │ │ ├── CloexecCheck.h
│ │ │ │ ├── CloexecCreatCheck.h
│ │ │ │ ├── CloexecDupCheck.h
│ │ │ │ ├── CloexecEpollCreate1Check.h
│ │ │ │ ├── CloexecEpollCreateCheck.h
│ │ │ │ ├── CloexecFopenCheck.h
│ │ │ │ ├── CloexecInotifyInit1Check.h
│ │ │ │ ├── CloexecInotifyInitCheck.h
│ │ │ │ ├── CloexecMemfdCreateCheck.h
│ │ │ │ ├── CloexecOpenCheck.h
│ │ │ │ ├── CloexecPipe2Check.h
│ │ │ │ ├── CloexecPipeCheck.h
│ │ │ │ ├── CloexecSocketCheck.h
│ │ │ │ └── ComparisonInTempFailureRetryCheck.h
│ │ │ ├── boost
│ │ │ │ └── UseToStringCheck.h
│ │ │ ├── bugprone
│ │ │ │ ├── ArgumentCommentCheck.h
│ │ │ │ ├── AssertSideEffectCheck.h
│ │ │ │ ├── BadSignalToKillThreadCheck.h
│ │ │ │ ├── BoolPointerImplicitConversionCheck.h
│ │ │ │ ├── BranchCloneCheck.h
│ │ │ │ ├── CopyConstructorInitCheck.h
│ │ │ │ ├── DanglingHandleCheck.h
│ │ │ │ ├── DynamicStaticInitializersCheck.h
│ │ │ │ ├── ExceptionEscapeCheck.h
│ │ │ │ ├── FoldInitTypeCheck.h
│ │ │ │ ├── ForwardDeclarationNamespaceCheck.h
│ │ │ │ ├── ForwardingReferenceOverloadCheck.h
│ │ │ │ ├── InaccurateEraseCheck.h
│ │ │ │ ├── IncorrectRoundingsCheck.h
│ │ │ │ ├── InfiniteLoopCheck.h
│ │ │ │ ├── IntegerDivisionCheck.h
│ │ │ │ ├── LambdaFunctionNameCheck.h
│ │ │ │ ├── MacroParenthesesCheck.h
│ │ │ │ ├── MacroRepeatedSideEffectsCheck.h
│ │ │ │ ├── MisplacedOperatorInStrlenInAllocCheck.h
│ │ │ │ ├── MisplacedPointerArithmeticInAllocCheck.h
│ │ │ │ ├── MisplacedWideningCastCheck.h
│ │ │ │ ├── MoveForwardingReferenceCheck.h
│ │ │ │ ├── MultipleStatementMacroCheck.h
│ │ │ │ ├── NotNullTerminatedResultCheck.h
│ │ │ │ ├── ParentVirtualCallCheck.h
│ │ │ │ ├── PosixReturnCheck.h
│ │ │ │ ├── ReservedIdentifierCheck.h
│ │ │ │ ├── SignedCharMisuseCheck.h
│ │ │ │ ├── SizeofContainerCheck.h
│ │ │ │ ├── SizeofExpressionCheck.h
│ │ │ │ ├── StringConstructorCheck.h
│ │ │ │ ├── StringIntegerAssignmentCheck.h
│ │ │ │ ├── StringLiteralWithEmbeddedNulCheck.h
│ │ │ │ ├── SuspiciousEnumUsageCheck.h
│ │ │ │ ├── SuspiciousMemsetUsageCheck.h
│ │ │ │ ├── SuspiciousMissingCommaCheck.h
│ │ │ │ ├── SuspiciousSemicolonCheck.h
│ │ │ │ ├── SuspiciousStringCompareCheck.h
│ │ │ │ ├── SwappedArgumentsCheck.h
│ │ │ │ ├── TerminatingContinueCheck.h
│ │ │ │ ├── ThrowKeywordMissingCheck.h
│ │ │ │ ├── TooSmallLoopVariableCheck.h
│ │ │ │ ├── UndefinedMemoryManipulationCheck.h
│ │ │ │ ├── UndelegatedConstructorCheck.h
│ │ │ │ ├── UnhandledSelfAssignmentCheck.h
│ │ │ │ ├── UnusedRaiiCheck.h
│ │ │ │ ├── UnusedReturnValueCheck.h
│ │ │ │ ├── UseAfterMoveCheck.h
│ │ │ │ └── VirtualNearMissCheck.h
│ │ │ ├── cert
│ │ │ │ ├── CommandProcessorCheck.h
│ │ │ │ ├── DefaultOperatorNewAlignmentCheck.h
│ │ │ │ ├── DontModifyStdNamespaceCheck.h
│ │ │ │ ├── FloatLoopCounter.h
│ │ │ │ ├── LimitedRandomnessCheck.h
│ │ │ │ ├── MutatingCopyCheck.h
│ │ │ │ ├── NonTrivialTypesLibcMemoryCallsCheck.h
│ │ │ │ ├── PostfixOperatorCheck.h
│ │ │ │ ├── ProperlySeededRandomGeneratorCheck.h
│ │ │ │ ├── SetLongJmpCheck.h
│ │ │ │ ├── StaticObjectExceptionCheck.h
│ │ │ │ ├── StrToNumCheck.h
│ │ │ │ ├── ThrownExceptionTypeCheck.h
│ │ │ │ └── VariadicFunctionDefCheck.h
│ │ │ ├── cppcoreguidelines
│ │ │ │ ├── AvoidGotoCheck.h
│ │ │ │ ├── InitVariablesCheck.h
│ │ │ │ ├── InterfacesGlobalInitCheck.h
│ │ │ │ ├── MacroUsageCheck.h
│ │ │ │ ├── NarrowingConversionsCheck.h
│ │ │ │ ├── NoMallocCheck.h
│ │ │ │ ├── OwningMemoryCheck.h
│ │ │ │ ├── ProBoundsArrayToPointerDecayCheck.h
│ │ │ │ ├── ProBoundsConstantArrayIndexCheck.h
│ │ │ │ ├── ProBoundsPointerArithmeticCheck.h
│ │ │ │ ├── ProTypeConstCastCheck.h
│ │ │ │ ├── ProTypeCstyleCastCheck.h
│ │ │ │ ├── ProTypeMemberInitCheck.h
│ │ │ │ ├── ProTypeReinterpretCastCheck.h
│ │ │ │ ├── ProTypeStaticCastDowncastCheck.h
│ │ │ │ ├── ProTypeUnionAccessCheck.h
│ │ │ │ ├── ProTypeVarargCheck.h
│ │ │ │ ├── SlicingCheck.h
│ │ │ │ └── SpecialMemberFunctionsCheck.h
│ │ │ ├── darwin
│ │ │ │ ├── AvoidSpinlockCheck.h
│ │ │ │ └── DispatchOnceNonstaticCheck.h
│ │ │ ├── fuchsia
│ │ │ │ ├── DefaultArgumentsCallsCheck.h
│ │ │ │ ├── DefaultArgumentsDeclarationsCheck.h
│ │ │ │ ├── MultipleInheritanceCheck.h
│ │ │ │ ├── OverloadedOperatorCheck.h
│ │ │ │ ├── RestrictSystemIncludesCheck.h
│ │ │ │ ├── StaticallyConstructedObjectsCheck.h
│ │ │ │ ├── TrailingReturnCheck.h
│ │ │ │ └── VirtualInheritanceCheck.h
│ │ │ ├── google
│ │ │ │ ├── AvoidCStyleCastsCheck.h
│ │ │ │ ├── AvoidNSObjectNewCheck.h
│ │ │ │ ├── AvoidThrowingObjCExceptionCheck.h
│ │ │ │ ├── AvoidUnderscoreInGoogletestNameCheck.h
│ │ │ │ ├── DefaultArgumentsCheck.h
│ │ │ │ ├── ExplicitConstructorCheck.h
│ │ │ │ ├── ExplicitMakePairCheck.h
│ │ │ │ ├── FunctionNamingCheck.h
│ │ │ │ ├── GlobalNamesInHeadersCheck.h
│ │ │ │ ├── GlobalVariableDeclarationCheck.h
│ │ │ │ ├── IntegerTypesCheck.h
│ │ │ │ ├── NonConstReferences.h
│ │ │ │ ├── OverloadedUnaryAndCheck.h
│ │ │ │ ├── TodoCommentCheck.h
│ │ │ │ ├── UnnamedNamespaceInHeaderCheck.h
│ │ │ │ ├── UpgradeGoogletestCaseCheck.h
│ │ │ │ └── UsingNamespaceDirectiveCheck.h
│ │ │ ├── hicpp
│ │ │ │ ├── ExceptionBaseclassCheck.h
│ │ │ │ ├── MultiwayPathsCoveredCheck.h
│ │ │ │ ├── NoAssemblerCheck.h
│ │ │ │ └── SignedBitwiseCheck.h
│ │ │ ├── linuxkernel
│ │ │ │ └── MustCheckErrsCheck.h
│ │ │ ├── llvm
│ │ │ │ ├── HeaderGuardCheck.h
│ │ │ │ ├── IncludeOrderCheck.h
│ │ │ │ ├── PreferIsaOrDynCastInConditionalsCheck.h
│ │ │ │ ├── PreferRegisterOverUnsignedCheck.h
│ │ │ │ └── TwineLocalCheck.h
│ │ │ ├── misc
│ │ │ │ ├── DefinitionsInHeadersCheck.h
│ │ │ │ ├── MisplacedConstCheck.h
│ │ │ │ ├── NewDeleteOverloadsCheck.h
│ │ │ │ ├── NonCopyableObjects.h
│ │ │ │ ├── NonPrivateMemberVariablesInClassesCheck.h
│ │ │ │ ├── RedundantExpressionCheck.h
│ │ │ │ ├── StaticAssertCheck.h
│ │ │ │ ├── ThrowByValueCatchByReferenceCheck.h
│ │ │ │ ├── UnconventionalAssignOperatorCheck.h
│ │ │ │ ├── UniqueptrResetReleaseCheck.h
│ │ │ │ ├── UnusedAliasDeclsCheck.h
│ │ │ │ ├── UnusedParametersCheck.h
│ │ │ │ └── UnusedUsingDeclsCheck.h
│ │ │ ├── modernize
│ │ │ │ ├── AvoidBindCheck.h
│ │ │ │ ├── AvoidCArraysCheck.h
│ │ │ │ ├── ConcatNestedNamespacesCheck.h
│ │ │ │ ├── DeprecatedHeadersCheck.h
│ │ │ │ ├── DeprecatedIosBaseAliasesCheck.h
│ │ │ │ ├── LoopConvertCheck.h
│ │ │ │ ├── LoopConvertUtils.h
│ │ │ │ ├── MakeSharedCheck.h
│ │ │ │ ├── MakeSmartPtrCheck.h
│ │ │ │ ├── MakeUniqueCheck.h
│ │ │ │ ├── PassByValueCheck.h
│ │ │ │ ├── RawStringLiteralCheck.h
│ │ │ │ ├── RedundantVoidArgCheck.h
│ │ │ │ ├── ReplaceAutoPtrCheck.h
│ │ │ │ ├── ReplaceRandomShuffleCheck.h
│ │ │ │ ├── ReturnBracedInitListCheck.h
│ │ │ │ ├── ShrinkToFitCheck.h
│ │ │ │ ├── UnaryStaticAssertCheck.h
│ │ │ │ ├── UseAutoCheck.h
│ │ │ │ ├── UseBoolLiteralsCheck.h
│ │ │ │ ├── UseDefaultMemberInitCheck.h
│ │ │ │ ├── UseEmplaceCheck.h
│ │ │ │ ├── UseEqualsDefaultCheck.h
│ │ │ │ ├── UseEqualsDeleteCheck.h
│ │ │ │ ├── UseNodiscardCheck.h
│ │ │ │ ├── UseNoexceptCheck.h
│ │ │ │ ├── UseNullptrCheck.h
│ │ │ │ ├── UseOverrideCheck.h
│ │ │ │ ├── UseTrailingReturnTypeCheck.h
│ │ │ │ ├── UseTransparentFunctorsCheck.h
│ │ │ │ ├── UseUncaughtExceptionsCheck.h
│ │ │ │ └── UseUsingCheck.h
│ │ │ ├── mpi
│ │ │ │ ├── BufferDerefCheck.h
│ │ │ │ └── TypeMismatchCheck.h
│ │ │ ├── objc
│ │ │ │ ├── AvoidNSErrorInitCheck.h
│ │ │ │ ├── ForbiddenSubclassingCheck.h
│ │ │ │ ├── MissingHashCheck.h
│ │ │ │ ├── PropertyDeclarationCheck.h
│ │ │ │ └── SuperSelfCheck.h
│ │ │ ├── openmp
│ │ │ │ ├── ExceptionEscapeCheck.h
│ │ │ │ └── UseDefaultNoneCheck.h
│ │ │ ├── performance
│ │ │ │ ├── FasterStringFindCheck.h
│ │ │ │ ├── ForRangeCopyCheck.h
│ │ │ │ ├── ImplicitConversionInLoopCheck.h
│ │ │ │ ├── InefficientAlgorithmCheck.h
│ │ │ │ ├── InefficientStringConcatenationCheck.h
│ │ │ │ ├── InefficientVectorOperationCheck.h
│ │ │ │ ├── MoveConstArgCheck.h
│ │ │ │ ├── MoveConstructorInitCheck.h
│ │ │ │ ├── NoAutomaticMoveCheck.h
│ │ │ │ ├── NoexceptMoveConstructorCheck.h
│ │ │ │ ├── TriviallyDestructibleCheck.h
│ │ │ │ ├── TypePromotionInMathFnCheck.h
│ │ │ │ ├── UnnecessaryCopyInitialization.h
│ │ │ │ └── UnnecessaryValueParamCheck.h
│ │ │ ├── portability
│ │ │ │ └── SIMDIntrinsicsCheck.h
│ │ │ ├── readability
│ │ │ │ ├── AvoidConstParamsInDecls.h
│ │ │ │ ├── BracesAroundStatementsCheck.h
│ │ │ │ ├── ConstReturnTypeCheck.h
│ │ │ │ ├── ContainerSizeEmptyCheck.h
│ │ │ │ ├── ConvertMemberFunctionsToStatic.h
│ │ │ │ ├── DeleteNullPointerCheck.h
│ │ │ │ ├── DeletedDefaultCheck.h
│ │ │ │ ├── ElseAfterReturnCheck.h
│ │ │ │ ├── FunctionSizeCheck.h
│ │ │ │ ├── IdentifierNamingCheck.h
│ │ │ │ ├── ImplicitBoolConversionCheck.h
│ │ │ │ ├── InconsistentDeclarationParameterNameCheck.h
│ │ │ │ ├── IsolateDeclarationCheck.h
│ │ │ │ ├── MagicNumbersCheck.h
│ │ │ │ ├── MakeMemberFunctionConstCheck.h
│ │ │ │ ├── MisleadingIndentationCheck.h
│ │ │ │ ├── MisplacedArrayIndexCheck.h
│ │ │ │ ├── NamedParameterCheck.h
│ │ │ │ ├── NamespaceCommentCheck.h
│ │ │ │ ├── NonConstParameterCheck.h
│ │ │ │ ├── QualifiedAutoCheck.h
│ │ │ │ ├── RedundantAccessSpecifiersCheck.h
│ │ │ │ ├── RedundantControlFlowCheck.h
│ │ │ │ ├── RedundantDeclarationCheck.h
│ │ │ │ ├── RedundantFunctionPtrDereferenceCheck.h
│ │ │ │ ├── RedundantMemberInitCheck.h
│ │ │ │ ├── RedundantPreprocessorCheck.h
│ │ │ │ ├── RedundantSmartptrGetCheck.h
│ │ │ │ ├── RedundantStringCStrCheck.h
│ │ │ │ ├── RedundantStringInitCheck.h
│ │ │ │ ├── SimplifyBooleanExprCheck.h
│ │ │ │ ├── SimplifySubscriptExprCheck.h
│ │ │ │ ├── StaticAccessedThroughInstanceCheck.h
│ │ │ │ ├── StaticDefinitionInAnonymousNamespaceCheck.h
│ │ │ │ ├── StringCompareCheck.h
│ │ │ │ ├── UniqueptrDeleteReleaseCheck.h
│ │ │ │ └── UppercaseLiteralSuffixCheck.h
│ │ │ ├── tool
│ │ │ │ └── ClangTidyMain.h
│ │ │ ├── utils
│ │ │ │ ├── ASTUtils.h
│ │ │ │ ├── DeclRefExprUtils.h
│ │ │ │ ├── ExceptionAnalyzer.h
│ │ │ │ ├── ExprSequence.h
│ │ │ │ ├── FixItHintUtils.h
│ │ │ │ ├── HeaderFileExtensionsUtils.h
│ │ │ │ ├── HeaderGuard.h
│ │ │ │ ├── IncludeInserter.h
│ │ │ │ ├── IncludeSorter.h
│ │ │ │ ├── LexerUtils.h
│ │ │ │ ├── Matchers.h
│ │ │ │ ├── NamespaceAliaser.h
│ │ │ │ ├── OptionsUtils.h
│ │ │ │ ├── RenamerClangTidyCheck.h
│ │ │ │ ├── TransformerClangTidyCheck.h
│ │ │ │ ├── TypeTraits.h
│ │ │ │ └── UsingInserter.h
│ │ │ └── zircon
│ │ │ └── TemporaryObjectsCheck.h
│ │ ├── lld
│ │ │ ├── Common
│ │ │ │ ├── Args.h
│ │ │ │ ├── DWARF.h
│ │ │ │ ├── Driver.h
│ │ │ │ ├── ErrorHandler.h
│ │ │ │ ├── Filesystem.h
│ │ │ │ ├── LLVM.h
│ │ │ │ ├── Memory.h
│ │ │ │ ├── Reproduce.h
│ │ │ │ ├── Strings.h
│ │ │ │ ├── TargetOptionsCommandFlags.h
│ │ │ │ ├── Threads.h
│ │ │ │ ├── Timer.h
│ │ │ │ └── Version.h
│ │ │ ├── Core
│ │ │ │ ├── AbsoluteAtom.h
│ │ │ │ ├── ArchiveLibraryFile.h
│ │ │ │ ├── Atom.h
│ │ │ │ ├── DefinedAtom.h
│ │ │ │ ├── Error.h
│ │ │ │ ├── File.h
│ │ │ │ ├── Instrumentation.h
│ │ │ │ ├── LinkingContext.h
│ │ │ │ ├── Node.h
│ │ │ │ ├── Pass.h
│ │ │ │ ├── PassManager.h
│ │ │ │ ├── Reader.h
│ │ │ │ ├── Reference.h
│ │ │ │ ├── Resolver.h
│ │ │ │ ├── SharedLibraryAtom.h
│ │ │ │ ├── SharedLibraryFile.h
│ │ │ │ ├── Simple.h
│ │ │ │ ├── SymbolTable.h
│ │ │ │ ├── UndefinedAtom.h
│ │ │ │ └── Writer.h
│ │ │ └── ReaderWriter
│ │ │ ├── MachOLinkingContext.h
│ │ │ └── YamlContext.h
│ │ ├── lldb
│ │ │ ├── API
│ │ │ │ ├── LLDB.h
│ │ │ │ ├── SBAddress.h
│ │ │ │ ├── SBAttachInfo.h
│ │ │ │ ├── SBBlock.h
│ │ │ │ ├── SBBreakpoint.h
│ │ │ │ ├── SBBreakpointLocation.h
│ │ │ │ ├── SBBreakpointName.h
│ │ │ │ ├── SBBroadcaster.h
│ │ │ │ ├── SBCommandInterpreter.h
│ │ │ │ ├── SBCommandReturnObject.h
│ │ │ │ ├── SBCommunication.h
│ │ │ │ ├── SBCompileUnit.h
│ │ │ │ ├── SBData.h
│ │ │ │ ├── SBDebugger.h
│ │ │ │ ├── SBDeclaration.h
│ │ │ │ ├── SBDefines.h
│ │ │ │ ├── SBError.h
│ │ │ │ ├── SBEvent.h
│ │ │ │ ├── SBExecutionContext.h
│ │ │ │ ├── SBExpressionOptions.h
│ │ │ │ ├── SBFile.h
│ │ │ │ ├── SBFileSpec.h
│ │ │ │ ├── SBFileSpecList.h
│ │ │ │ ├── SBFrame.h
│ │ │ │ ├── SBFunction.h
│ │ │ │ ├── SBHostOS.h
│ │ │ │ ├── SBInstruction.h
│ │ │ │ ├── SBInstructionList.h
│ │ │ │ ├── SBLanguageRuntime.h
│ │ │ │ ├── SBLaunchInfo.h
│ │ │ │ ├── SBLineEntry.h
│ │ │ │ ├── SBListener.h
│ │ │ │ ├── SBMemoryRegionInfo.h
│ │ │ │ ├── SBMemoryRegionInfoList.h
│ │ │ │ ├── SBModule.h
│ │ │ │ ├── SBModuleSpec.h
│ │ │ │ ├── SBPlatform.h
│ │ │ │ ├── SBProcess.h
│ │ │ │ ├── SBProcessInfo.h
│ │ │ │ ├── SBQueue.h
│ │ │ │ ├── SBQueueItem.h
│ │ │ │ ├── SBReproducer.h
│ │ │ │ ├── SBSection.h
│ │ │ │ ├── SBSourceManager.h
│ │ │ │ ├── SBStream.h
│ │ │ │ ├── SBStringList.h
│ │ │ │ ├── SBStructuredData.h
│ │ │ │ ├── SBSymbol.h
│ │ │ │ ├── SBSymbolContext.h
│ │ │ │ ├── SBSymbolContextList.h
│ │ │ │ ├── SBTarget.h
│ │ │ │ ├── SBThread.h
│ │ │ │ ├── SBThreadCollection.h
│ │ │ │ ├── SBThreadPlan.h
│ │ │ │ ├── SBTrace.h
│ │ │ │ ├── SBTraceOptions.h
│ │ │ │ ├── SBType.h
│ │ │ │ ├── SBTypeCategory.h
│ │ │ │ ├── SBTypeEnumMember.h
│ │ │ │ ├── SBTypeFilter.h
│ │ │ │ ├── SBTypeFormat.h
│ │ │ │ ├── SBTypeNameSpecifier.h
│ │ │ │ ├── SBTypeSummary.h
│ │ │ │ ├── SBTypeSynthetic.h
│ │ │ │ ├── SBUnixSignals.h
│ │ │ │ ├── SBValue.h
│ │ │ │ ├── SBValueList.h
│ │ │ │ ├── SBVariablesOptions.h
│ │ │ │ └── SBWatchpoint.h
│ │ │ ├── Breakpoint
│ │ │ │ ├── Breakpoint.h
│ │ │ │ ├── BreakpointID.h
│ │ │ │ ├── BreakpointIDList.h
│ │ │ │ ├── BreakpointList.h
│ │ │ │ ├── BreakpointLocation.h
│ │ │ │ ├── BreakpointLocationCollection.h
│ │ │ │ ├── BreakpointLocationList.h
│ │ │ │ ├── BreakpointName.h
│ │ │ │ ├── BreakpointOptions.h
│ │ │ │ ├── BreakpointPrecondition.h
│ │ │ │ ├── BreakpointResolver.h
│ │ │ │ ├── BreakpointResolverAddress.h
│ │ │ │ ├── BreakpointResolverFileLine.h
│ │ │ │ ├── BreakpointResolverFileRegex.h
│ │ │ │ ├── BreakpointResolverName.h
│ │ │ │ ├── BreakpointResolverScripted.h
│ │ │ │ ├── BreakpointSite.h
│ │ │ │ ├── BreakpointSiteList.h
│ │ │ │ ├── Stoppoint.h
│ │ │ │ ├── StoppointCallbackContext.h
│ │ │ │ ├── StoppointLocation.h
│ │ │ │ ├── Watchpoint.h
│ │ │ │ ├── WatchpointList.h
│ │ │ │ └── WatchpointOptions.h
│ │ │ ├── Core
│ │ │ │ ├── Address.h
│ │ │ │ ├── AddressRange.h
│ │ │ │ ├── AddressResolver.h
│ │ │ │ ├── AddressResolverFileLine.h
│ │ │ │ ├── AddressResolverName.h
│ │ │ │ ├── Architecture.h
│ │ │ │ ├── Communication.h
│ │ │ │ ├── Debugger.h
│ │ │ │ ├── Disassembler.h
│ │ │ │ ├── DumpDataExtractor.h
│ │ │ │ ├── DumpRegisterValue.h
│ │ │ │ ├── EmulateInstruction.h
│ │ │ │ ├── FileLineResolver.h
│ │ │ │ ├── FileSpecList.h
│ │ │ │ ├── FormatEntity.h
│ │ │ │ ├── Highlighter.h
│ │ │ │ ├── IOHandler.h
│ │ │ │ ├── IOHandlerCursesGUI.h
│ │ │ │ ├── IOStreamMacros.h
│ │ │ │ ├── LoadedModuleInfoList.h
│ │ │ │ ├── Mangled.h
│ │ │ │ ├── MappedHash.h
│ │ │ │ ├── Module.h
│ │ │ │ ├── ModuleChild.h
│ │ │ │ ├── ModuleList.h
│ │ │ │ ├── ModuleSpec.h
│ │ │ │ ├── Opcode.h
│ │ │ │ ├── PluginInterface.h
│ │ │ │ ├── PluginManager.h
│ │ │ │ ├── RichManglingContext.h
│ │ │ │ ├── SearchFilter.h
│ │ │ │ ├── Section.h
│ │ │ │ ├── SourceManager.h
│ │ │ │ ├── StreamAsynchronousIO.h
│ │ │ │ ├── StreamBuffer.h
│ │ │ │ ├── StreamFile.h
│ │ │ │ ├── StructuredDataImpl.h
│ │ │ │ ├── ThreadSafeDenseMap.h
│ │ │ │ ├── ThreadSafeDenseSet.h
│ │ │ │ ├── ThreadSafeValue.h
│ │ │ │ ├── UniqueCStringMap.h
│ │ │ │ ├── UserSettingsController.h
│ │ │ │ ├── Value.h
│ │ │ │ ├── ValueObject.h
│ │ │ │ ├── ValueObjectCast.h
│ │ │ │ ├── ValueObjectChild.h
│ │ │ │ ├── ValueObjectConstResult.h
│ │ │ │ ├── ValueObjectConstResultCast.h
│ │ │ │ ├── ValueObjectConstResultChild.h
│ │ │ │ ├── ValueObjectConstResultImpl.h
│ │ │ │ ├── ValueObjectDynamicValue.h
│ │ │ │ ├── ValueObjectList.h
│ │ │ │ ├── ValueObjectMemory.h
│ │ │ │ ├── ValueObjectRegister.h
│ │ │ │ ├── ValueObjectSyntheticFilter.h
│ │ │ │ ├── ValueObjectVariable.h
│ │ │ │ └── dwarf.h
│ │ │ ├── DataFormatters
│ │ │ │ ├── CXXFunctionPointer.h
│ │ │ │ ├── DataVisualization.h
│ │ │ │ ├── DumpValueObjectOptions.h
│ │ │ │ ├── FormatCache.h
│ │ │ │ ├── FormatClasses.h
│ │ │ │ ├── FormatManager.h
│ │ │ │ ├── FormattersContainer.h
│ │ │ │ ├── FormattersHelpers.h
│ │ │ │ ├── LanguageCategory.h
│ │ │ │ ├── StringPrinter.h
│ │ │ │ ├── TypeCategory.h
│ │ │ │ ├── TypeCategoryMap.h
│ │ │ │ ├── TypeFormat.h
│ │ │ │ ├── TypeSummary.h
│ │ │ │ ├── TypeSynthetic.h
│ │ │ │ ├── ValueObjectPrinter.h
│ │ │ │ ├── VectorIterator.h
│ │ │ │ └── VectorType.h
│ │ │ ├── Expression
│ │ │ │ ├── DWARFExpression.h
│ │ │ │ ├── DiagnosticManager.h
│ │ │ │ ├── DynamicCheckerFunctions.h
│ │ │ │ ├── Expression.h
│ │ │ │ ├── ExpressionParser.h
│ │ │ │ ├── ExpressionSourceCode.h
│ │ │ │ ├── ExpressionTypeSystemHelper.h
│ │ │ │ ├── ExpressionVariable.h
│ │ │ │ ├── FunctionCaller.h
│ │ │ │ ├── IRExecutionUnit.h
│ │ │ │ ├── IRInterpreter.h
│ │ │ │ ├── IRMemoryMap.h
│ │ │ │ ├── LLVMUserExpression.h
│ │ │ │ ├── Materializer.h
│ │ │ │ ├── REPL.h
│ │ │ │ ├── UserExpression.h
│ │ │ │ └── UtilityFunction.h
│ │ │ ├── Host
│ │ │ │ ├── Config.h
│ │ │ │ ├── ConnectionFileDescriptor.h
│ │ │ │ ├── Debug.h
│ │ │ │ ├── Editline.h
│ │ │ │ ├── File.h
│ │ │ │ ├── FileAction.h
│ │ │ │ ├── FileCache.h
│ │ │ │ ├── FileSystem.h
│ │ │ │ ├── Host.h
│ │ │ │ ├── HostGetOpt.h
│ │ │ │ ├── HostInfo.h
│ │ │ │ ├── HostInfoBase.h
│ │ │ │ ├── HostNativeProcess.h
│ │ │ │ ├── HostNativeProcessBase.h
│ │ │ │ ├── HostNativeThread.h
│ │ │ │ ├── HostNativeThreadBase.h
│ │ │ │ ├── HostNativeThreadForward.h
│ │ │ │ ├── HostProcess.h
│ │ │ │ ├── HostThread.h
│ │ │ │ ├── LZMA.h
│ │ │ │ ├── LockFile.h
│ │ │ │ ├── LockFileBase.h
│ │ │ │ ├── MainLoop.h
│ │ │ │ ├── MainLoopBase.h
│ │ │ │ ├── MonitoringProcessLauncher.h
│ │ │ │ ├── OptionParser.h
│ │ │ │ ├── Pipe.h
│ │ │ │ ├── PipeBase.h
│ │ │ │ ├── PosixApi.h
│ │ │ │ ├── ProcessLaunchInfo.h
│ │ │ │ ├── ProcessLauncher.h
│ │ │ │ ├── ProcessRunLock.h
│ │ │ │ ├── PseudoTerminal.h
│ │ │ │ ├── SafeMachO.h
│ │ │ │ ├── Socket.h
│ │ │ │ ├── SocketAddress.h
│ │ │ │ ├── StringConvert.h
│ │ │ │ ├── TaskPool.h
│ │ │ │ ├── Terminal.h
│ │ │ │ ├── ThreadLauncher.h
│ │ │ │ ├── Time.h
│ │ │ │ ├── XML.h
│ │ │ │ ├── android
│ │ │ │ │ └── HostInfoAndroid.h
│ │ │ │ ├── common
│ │ │ │ │ ├── GetOptInc.h
│ │ │ │ │ ├── NativeBreakpointList.h
│ │ │ │ │ ├── NativeProcessProtocol.h
│ │ │ │ │ ├── NativeRegisterContext.h
│ │ │ │ │ ├── NativeThreadProtocol.h
│ │ │ │ │ ├── NativeWatchpointList.h
│ │ │ │ │ ├── TCPSocket.h
│ │ │ │ │ └── UDPSocket.h
│ │ │ │ ├── freebsd
│ │ │ │ │ └── HostInfoFreeBSD.h
│ │ │ │ ├── linux
│ │ │ │ │ ├── AbstractSocket.h
│ │ │ │ │ ├── HostInfoLinux.h
│ │ │ │ │ ├── Ptrace.h
│ │ │ │ │ ├── Support.h
│ │ │ │ │ └── Uio.h
│ │ │ │ ├── macosx
│ │ │ │ │ ├── HostInfoMacOSX.h
│ │ │ │ │ └── HostThreadMacOSX.h
│ │ │ │ ├── netbsd
│ │ │ │ │ └── HostInfoNetBSD.h
│ │ │ │ ├── openbsd
│ │ │ │ │ └── HostInfoOpenBSD.h
│ │ │ │ ├── posix
│ │ │ │ │ ├── ConnectionFileDescriptorPosix.h
│ │ │ │ │ ├── DomainSocket.h
│ │ │ │ │ ├── Fcntl.h
│ │ │ │ │ ├── HostInfoPosix.h
│ │ │ │ │ ├── HostProcessPosix.h
│ │ │ │ │ ├── HostThreadPosix.h
│ │ │ │ │ ├── LockFilePosix.h
│ │ │ │ │ ├── PipePosix.h
│ │ │ │ │ └── ProcessLauncherPosixFork.h
│ │ │ │ └── windows
│ │ │ │ ├── AutoHandle.h
│ │ │ │ ├── ConnectionGenericFileWindows.h
│ │ │ │ ├── HostInfoWindows.h
│ │ │ │ ├── HostProcessWindows.h
│ │ │ │ ├── HostThreadWindows.h
│ │ │ │ ├── LockFileWindows.h
│ │ │ │ ├── PipeWindows.h
│ │ │ │ ├── PosixApi.h
│ │ │ │ ├── ProcessLauncherWindows.h
│ │ │ │ ├── editlinewin.h
│ │ │ │ └── windows.h
│ │ │ ├── Initialization
│ │ │ │ ├── SystemInitializer.h
│ │ │ │ ├── SystemInitializerCommon.h
│ │ │ │ └── SystemLifetimeManager.h
│ │ │ ├── Interpreter
│ │ │ │ ├── CommandAlias.h
│ │ │ │ ├── CommandCompletions.h
│ │ │ │ ├── CommandHistory.h
│ │ │ │ ├── CommandInterpreter.h
│ │ │ │ ├── CommandObject.h
│ │ │ │ ├── CommandObjectMultiword.h
│ │ │ │ ├── CommandObjectRegexCommand.h
│ │ │ │ ├── CommandOptionValidators.h
│ │ │ │ ├── CommandReturnObject.h
│ │ │ │ ├── OptionArgParser.h
│ │ │ │ ├── OptionGroupArchitecture.h
│ │ │ │ ├── OptionGroupBoolean.h
│ │ │ │ ├── OptionGroupFile.h
│ │ │ │ ├── OptionGroupFormat.h
│ │ │ │ ├── OptionGroupOutputFile.h
│ │ │ │ ├── OptionGroupPlatform.h
│ │ │ │ ├── OptionGroupPythonClassWithDict.h
│ │ │ │ ├── OptionGroupString.h
│ │ │ │ ├── OptionGroupUInt64.h
│ │ │ │ ├── OptionGroupUUID.h
│ │ │ │ ├── OptionGroupValueObjectDisplay.h
│ │ │ │ ├── OptionGroupVariable.h
│ │ │ │ ├── OptionGroupWatchpoint.h
│ │ │ │ ├── OptionValue.h
│ │ │ │ ├── OptionValueArch.h
│ │ │ │ ├── OptionValueArgs.h
│ │ │ │ ├── OptionValueArray.h
│ │ │ │ ├── OptionValueBoolean.h
│ │ │ │ ├── OptionValueChar.h
│ │ │ │ ├── OptionValueDictionary.h
│ │ │ │ ├── OptionValueEnumeration.h
│ │ │ │ ├── OptionValueFileSpec.h
│ │ │ │ ├── OptionValueFileSpecList.h
│ │ │ │ ├── OptionValueFormat.h
│ │ │ │ ├── OptionValueFormatEntity.h
│ │ │ │ ├── OptionValueLanguage.h
│ │ │ │ ├── OptionValuePathMappings.h
│ │ │ │ ├── OptionValueProperties.h
│ │ │ │ ├── OptionValueRegex.h
│ │ │ │ ├── OptionValueSInt64.h
│ │ │ │ ├── OptionValueString.h
│ │ │ │ ├── OptionValueUInt64.h
│ │ │ │ ├── OptionValueUUID.h
│ │ │ │ ├── OptionValues.h
│ │ │ │ ├── Options.h
│ │ │ │ ├── Property.h
│ │ │ │ └── ScriptInterpreter.h
│ │ │ ├── Symbol
│ │ │ │ ├── ArmUnwindInfo.h
│ │ │ │ ├── Block.h
│ │ │ │ ├── CallFrameInfo.h
│ │ │ │ ├── CompactUnwindInfo.h
│ │ │ │ ├── CompileUnit.h
│ │ │ │ ├── CompilerDecl.h
│ │ │ │ ├── CompilerDeclContext.h
│ │ │ │ ├── CompilerType.h
│ │ │ │ ├── DWARFCallFrameInfo.h
│ │ │ │ ├── DebugMacros.h
│ │ │ │ ├── DeclVendor.h
│ │ │ │ ├── Declaration.h
│ │ │ │ ├── FuncUnwinders.h
│ │ │ │ ├── Function.h
│ │ │ │ ├── LineEntry.h
│ │ │ │ ├── LineTable.h
│ │ │ │ ├── LocateSymbolFile.h
│ │ │ │ ├── ObjectContainer.h
│ │ │ │ ├── ObjectFile.h
│ │ │ │ ├── PostfixExpression.h
│ │ │ │ ├── SourceModule.h
│ │ │ │ ├── Symbol.h
│ │ │ │ ├── SymbolContext.h
│ │ │ │ ├── SymbolContextScope.h
│ │ │ │ ├── SymbolFile.h
│ │ │ │ ├── SymbolVendor.h
│ │ │ │ ├── Symtab.h
│ │ │ │ ├── TaggedASTType.h
│ │ │ │ ├── Type.h
│ │ │ │ ├── TypeList.h
│ │ │ │ ├── TypeMap.h
│ │ │ │ ├── TypeSystem.h
│ │ │ │ ├── UnwindPlan.h
│ │ │ │ ├── UnwindTable.h
│ │ │ │ ├── Variable.h
│ │ │ │ └── VariableList.h
│ │ │ ├── Target
│ │ │ │ ├── ABI.h
│ │ │ │ ├── AssertFrameRecognizer.h
│ │ │ │ ├── DynamicLoader.h
│ │ │ │ ├── ExecutionContext.h
│ │ │ │ ├── ExecutionContextScope.h
│ │ │ │ ├── InstrumentationRuntime.h
│ │ │ │ ├── InstrumentationRuntimeStopInfo.h
│ │ │ │ ├── JITLoader.h
│ │ │ │ ├── JITLoaderList.h
│ │ │ │ ├── Language.h
│ │ │ │ ├── LanguageRuntime.h
│ │ │ │ ├── Memory.h
│ │ │ │ ├── MemoryHistory.h
│ │ │ │ ├── MemoryRegionInfo.h
│ │ │ │ ├── ModuleCache.h
│ │ │ │ ├── OperatingSystem.h
│ │ │ │ ├── PathMappingList.h
│ │ │ │ ├── Platform.h
│ │ │ │ ├── Process.h
│ │ │ │ ├── ProcessStructReader.h
│ │ │ │ ├── Queue.h
│ │ │ │ ├── QueueItem.h
│ │ │ │ ├── QueueList.h
│ │ │ │ ├── RegisterCheckpoint.h
│ │ │ │ ├── RegisterContext.h
│ │ │ │ ├── RegisterNumber.h
│ │ │ │ ├── RemoteAwarePlatform.h
│ │ │ │ ├── SectionLoadHistory.h
│ │ │ │ ├── SectionLoadList.h
│ │ │ │ ├── StackFrame.h
│ │ │ │ ├── StackFrameList.h
│ │ │ │ ├── StackFrameRecognizer.h
│ │ │ │ ├── StackID.h
│ │ │ │ ├── StopInfo.h
│ │ │ │ ├── StructuredDataPlugin.h
│ │ │ │ ├── SystemRuntime.h
│ │ │ │ ├── Target.h
│ │ │ │ ├── TargetList.h
│ │ │ │ ├── Thread.h
│ │ │ │ ├── ThreadCollection.h
│ │ │ │ ├── ThreadList.h
│ │ │ │ ├── ThreadPlan.h
│ │ │ │ ├── ThreadPlanBase.h
│ │ │ │ ├── ThreadPlanCallFunction.h
│ │ │ │ ├── ThreadPlanCallFunctionUsingABI.h
│ │ │ │ ├── ThreadPlanCallOnFunctionExit.h
│ │ │ │ ├── ThreadPlanCallUserExpression.h
│ │ │ │ ├── ThreadPlanPython.h
│ │ │ │ ├── ThreadPlanRunToAddress.h
│ │ │ │ ├── ThreadPlanShouldStopHere.h
│ │ │ │ ├── ThreadPlanStepInRange.h
│ │ │ │ ├── ThreadPlanStepInstruction.h
│ │ │ │ ├── ThreadPlanStepOut.h
│ │ │ │ ├── ThreadPlanStepOverBreakpoint.h
│ │ │ │ ├── ThreadPlanStepOverRange.h
│ │ │ │ ├── ThreadPlanStepRange.h
│ │ │ │ ├── ThreadPlanStepThrough.h
│ │ │ │ ├── ThreadPlanStepUntil.h
│ │ │ │ ├── ThreadPlanTracer.h
│ │ │ │ ├── ThreadSpec.h
│ │ │ │ ├── UnixSignals.h
│ │ │ │ ├── Unwind.h
│ │ │ │ └── UnwindAssembly.h
│ │ │ ├── Utility
│ │ │ │ ├── AnsiTerminal.h
│ │ │ │ ├── ArchSpec.h
│ │ │ │ ├── Args.h
│ │ │ │ ├── Baton.h
│ │ │ │ ├── Broadcaster.h
│ │ │ │ ├── CompletionRequest.h
│ │ │ │ ├── Connection.h
│ │ │ │ ├── ConstString.h
│ │ │ │ ├── DataBuffer.h
│ │ │ │ ├── DataBufferHeap.h
│ │ │ │ ├── DataBufferLLVM.h
│ │ │ │ ├── DataEncoder.h
│ │ │ │ ├── DataExtractor.h
│ │ │ │ ├── Endian.h
│ │ │ │ ├── Environment.h
│ │ │ │ ├── Event.h
│ │ │ │ ├── FileSpec.h
│ │ │ │ ├── Flags.h
│ │ │ │ ├── GDBRemote.h
│ │ │ │ ├── IOObject.h
│ │ │ │ ├── Iterable.h
│ │ │ │ ├── LLDBAssert.h
│ │ │ │ ├── Listener.h
│ │ │ │ ├── Log.h
│ │ │ │ ├── Logging.h
│ │ │ │ ├── NameMatches.h
│ │ │ │ ├── Predicate.h
│ │ │ │ ├── ProcessInfo.h
│ │ │ │ ├── RangeMap.h
[...]
351 directories, 4802 files
$ set -xv; for i in clang r416183b1 gcc aarch64-linux-android-4.9; do sudo find / -name $i 2> /dev/null; done; set +xv
+/bin/zsh:1> i=clang
+/bin/zsh:1> sudo find / -name clang
[sudo] password for $USER:
# Lot of results
+/bin/zsh:1> i=r416183b1
+/bin/zsh:1> sudo find / -name r416183b1
+/bin/zsh:1> i=gcc
+/bin/zsh:1> sudo find / -name gcc
# Lot of results
+/bin/zsh:1> i=aarch64-linux-android-4.9
+/bin/zsh:1> sudo find / -name aarch64-linux-android-4.9
+/bin/zsh:1> set +xv
Attempt 4
set -xv
paru -S --needed android-sdk android-ndk
set +xv
source /etc/profile
set -xv
projectPath=git/mck
cd $projectPath
projectPath=.
CLANG_DIRECTORY=/opt/android-ndk/toolchains/clang #Or maybe /opt/android-ndk/build/core/toolchains
GCC_DIRECTORY=/opt/android-ndk/toolchains/gcc
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
anykernel/anykernel.sh $projectPath/out
set +xv
+/bin/zsh:2> paru -S --needed android-sdk android-ndk
:: Resolving dependencies...
:: android-sdk-26.1.1-2 is up to date -- skipping
:: android-ndk-r25.c-1 is up to date -- skipping
there is nothing to do
+/bin/zsh:3> source /etc/profile
[...]
+/bin/zsh:4> projectPath=git/mck
+/bin/zsh:5> cd git/mck
+/bin/zsh:6> projectPath=.
+/bin/zsh:7> CLANG_DIRECTORY=/opt/android-ndk/toolchains/clang
+/bin/zsh:8> GCC_DIRECTORY=/opt/android-ndk/toolchains/gcc
+/bin/zsh:9> JOBS=+/bin/zsh:9> nproc
+/bin/zsh:9> JOBS=11
+/bin/zsh:10> export PATH=/opt/android-ndk/toolchains/clang/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin
+/bin/zsh:11> export ARCH=arm64
+/bin/zsh:12> export LLVM=1
+/bin/zsh:13> mkdir out
mkdir: cannot create directory ‘out’: File exists
+/bin/zsh:14> pwd
+/bin/zsh:14> pwd
+/bin/zsh:14> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=/opt/android-ndk/toolchains/gcc/bin/aarch64-linux-android-' 'REAL_CC=/opt/android-ndk/toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-' vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/gcc/bin)
scripts/Kconfig.include:36: linker 'ld.lld' not found
make[2]: *** [../scripts/kconfig/Makefile:90: vendor/mesa_a52sxq_eur_open_defconfig] Error 1
make[1]: *** [/home/$USER/git/mck/Makefile:608: vendor/mesa_a52sxq_eur_open_defconfig] Error 2
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:15> pwd
+/bin/zsh:15> pwd
+/bin/zsh:15> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=/opt/android-ndk/toolchains/gcc/bin/aarch64-linux-android-' 'REAL_CC=/opt/android-ndk/toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-'
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/gcc/bin)
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
/home/$USER/git/mck/Makefile:706: include/config/auto.conf.cmd: No such file or directory
make[1]: *** [/home/$USER/git/mck/Makefile:715: .config] Error 1
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:16> pwd
zsh: no matches found: /home/$USER/git/mck/out/*.ko
+/bin/zsh:17> anykernel/anykernel.sh ./out
zsh: no such file or directory: anykernel/anykernel.sh
+/bin/zsh:18> set +xv
sudo find / -iname aarch64-linux-android-\*
/opt/android-ndk/build/core/toolchains/aarch64-linux-android-clang
Is it really necessary to check for each file when you can simply check by opening the folder if the gcc/clang ./bin folder contains the executables?
It's maybe not really necessary to check the whole filesystem or the content of a whole folder. It's just that I'm not sure where to search, so I search broad in doubt
Attempt 4 lead to the same result as attempt 2, do you have any idea about what to do?
for i in clang gcc; do sudo find / -name $i -type f; done
/home/$USER/git/mck/toolchains/clang/bin/clang
/usr/lib/modules/6.1.21-1-lts/build/scripts/dummy-tools/gcc
/usr/lib/modules/6.2.8-arch1-1/build/scripts/dummy-tools/gcc
/usr/share/bash-completion/completions/gcc
/usr/bin/gcc
file git/mck/toolchains/clang/bin/clang
git/mck/toolchains/clang/bin/clang: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=UzguH8r9L3zfP7Xfexmy/SDK0aLOK5PQE-EIAHm8p/w_2wEkZcZ5NXqU09Y-cX/GkBE4SLxGR6C7BIWY1AK, not stripped
All GCC/cLang files in /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/ and git/mck/toolchains/clang/bin/
for i in /opt/android-ndk git/mck; do sudo find $i -name bin -type d -print0 | while read -d $'\0' j; do for k in gcc clang; do sudo find $j -iname \*$k\* -type f; done; done; done
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android23-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android32-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android26-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android32-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi30-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android30-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android29-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android22-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi29-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi28-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android31-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android27-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi23-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android32-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android26-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android29-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android31-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android21-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android30-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android26-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android27-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android27-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android24-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android31-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android32-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android31-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android23-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi28-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android27-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clangd
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android30-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android19-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android30-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi26-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android32-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android21-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi30-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-format
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-check
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android23-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi31-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi22-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android28-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android27-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android22-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android28-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android30-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android31-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi22-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi32-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi29-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android26-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android27-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android31-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android28-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android30-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi23-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android23-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-14
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android29-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi27-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android24-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android28-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android19-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi27-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android26-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android22-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi19-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android21-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android22-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android22-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/git-clang-format
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android24-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android22-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android21-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi19-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android23-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi31-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi26-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android32-clang++
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi32-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android24-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android29-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android23-clang
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android26-clang++
git/mck/toolchains/clang/bin/clang++
git/mck/toolchains/clang/bin/clang-tidy
git/mck/toolchains/clang/bin/clang-tidy.real
git/mck/toolchains/clang/bin/clang-format
git/mck/toolchains/clang/bin/clang-check
git/mck/toolchains/clang/bin/clang-11
git/mck/toolchains/clang/bin/git-clang-format
git/mck/toolchains/clang/bin/clang
Attempt 5
set -xv
paru -S --needed android-sdk android-ndk
set +xv
source /etc/profile
set -xv
projectPath=git/mck
cd $projectPath
projectPath=.
CLANG_DIRECTORY=/home/$USER/git/mck/toolchains/clang
GCC_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
anykernel/anykernel.sh $projectPath/out
set +xv
+/bin/zsh:2> paru -S --needed android-sdk android-ndk
:: Resolving dependencies...
:: android-sdk-26.1.1-2 is up to date -- skipping
:: android-ndk-r25.c-1 is up to date -- skipping
there is nothing to do
+/bin/zsh:3> set +xv
+/bin/zsh:6> projectPath=git/mck
+/bin/zsh:7> cd git/mck
+/bin/zsh:8> projectPath=.
+/bin/zsh:9> CLANG_DIRECTORY=/home/$USER/git/mck/toolchains/clang
+/bin/zsh:10> GCC_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
+/bin/zsh:11> JOBS=+/bin/zsh:11> nproc
+/bin/zsh:11> JOBS=11
+/bin/zsh:12> export PATH=/home/$USER/git/mck/toolchains/clang/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin
+/bin/zsh:13> export ARCH=arm64
+/bin/zsh:14> export LLVM=1
+/bin/zsh:15> mkdir out
mkdir: cannot create directory ‘out’: File exists
+/bin/zsh:16> pwd
+/bin/zsh:16> pwd
+/bin/zsh:16> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-' 'REAL_CC=/home/$USER/git/mck/toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-' vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin)
KCONFIG_VARIANT((null))
KCONFIG_DEBUG((null))
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:17> pwd
+/bin/zsh:17> pwd
+/bin/zsh:17> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-' 'REAL_CC=/home/$USER/git/mck/toolchains/clang/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-'
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin)
arch/arm64/Makefile:38: LSE atomics not supported by binutils
arch/arm64/Makefile:52: Detected assembler with broken .inst; disassembly will be unreliable
../security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
"QGKI Spectra Camera Building as DLKM"
"SPECTRA_CAMERA IS MODULAR"
"SPECTRA_CAMERA IS MODULAR"
camera_adaptive_mipi=""
camera_adaptive_mipi=""
cp: missing destination file operand after '../techpack/camera/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_uw_dual.h'
Try 'cp --help' for more information.
camera_adaptive_mipi=""
"SPECTRA CAMERA IS BUILT AS DLKM"
../scripts/extract-cert.c:46:14: warning: 'ERR_get_error_line' is deprecated [-Wdeprecated-declarations]
while ((e = ERR_get_error_line(&file, &line))) {
^
/usr/include/openssl/err.h:422:1: note: 'ERR_get_error_line' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
../scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated [-Wdeprecated-declarations]
while (ERR_get_error_line(&file, &line)) {}
^
/usr/include/openssl/err.h:422:1: note: 'ERR_get_error_line' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
../scripts/extract-cert.c:124:3: warning: 'ENGINE_load_builtin_engines' is deprecated [-Wdeprecated-declarations]
ENGINE_load_builtin_engines();
^
/usr/include/openssl/engine.h:358:1: note: 'ENGINE_load_builtin_engines' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
../scripts/extract-cert.c:126:7: warning: 'ENGINE_by_id' is deprecated [-Wdeprecated-declarations]
e = ENGINE_by_id("pkcs11");
^
/usr/include/openssl/engine.h:336:1: note: 'ENGINE_by_id' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
../scripts/extract-cert.c:128:7: warning: 'ENGINE_init' is deprecated [-Wdeprecated-declarations]
if (ENGINE_init(e))
^
/usr/include/openssl/engine.h:620:1: note: 'ENGINE_init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
../scripts/extract-cert.c:133:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated [-Wdeprecated-declarations]
ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
^
/usr/include/openssl/engine.h:478:1: note: 'ENGINE_ctrl_cmd_string' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
../scripts/extract-cert.c:134:3: warning: 'ENGINE_ctrl_cmd' is deprecated [-Wdeprecated-declarations]
ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
^
/usr/include/openssl/engine.h:450:1: note: 'ENGINE_ctrl_cmd' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
7 warnings generated.
make[2]: *** [../scripts/Makefile.build:288: scripts/mod/empty.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/home/$USER/git/mck/Makefile:1227: prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
cp: cannot stat '../../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../../system/logging/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
kperfmon_DUMMY=""
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:18> pwd
zsh: no matches found: /home/$USER/git/mck/out/*.ko
+/bin/zsh:19> anykernel/anykernel.sh ./out
zsh: no such file or directory: anykernel/anykernel.sh
+/bin/zsh:20> set +xv
Attempt 6
set -xv
paru -S --needed android-sdk android-ndk
set +xv
source /etc/profile
set -xv
projectPath=git/mck
cd $projectPath
projectPath=.
CLANG_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
GCC_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
anykernel/anykernel.sh $projectPath/out
set +xv
+/bin/zsh:2> paru -S --needed android-sdk android-ndk
:: Resolving dependencies...
:: android-sdk-26.1.1-2 is up to date -- skipping
:: android-ndk-r25.c-1 is up to date -- skipping
there is nothing to do
+/bin/zsh:3> set +xv
+/bin/zsh:6> projectPath=git/mck
+/bin/zsh:7> cd git/mck
+/bin/zsh:8> projectPath=.
+/bin/zsh:9> CLANG_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
+/bin/zsh:10> GCC_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
+/bin/zsh:11> JOBS=+/bin/zsh:11> nproc
+/bin/zsh:11> JOBS=11
+/bin/zsh:12> export PATH=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin
+/bin/zsh:13> export ARCH=arm64
+/bin/zsh:14> export LLVM=1
+/bin/zsh:15> mkdir out
mkdir: cannot create directory ‘out’: File exists
+/bin/zsh:16> pwd
+/bin/zsh:16> pwd
+/bin/zsh:16> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-' 'REAL_CC=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-' vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin)
KCONFIG_VARIANT((null))
KCONFIG_DEBUG((null))
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:17> pwd
+/bin/zsh:17> pwd
+/bin/zsh:17> make -j11 -C /home/$USER/git/mck 'O=/home/$USER/git/mck/out' 'ARCH=arm64' 'CROSS_COMPILE=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-' 'REAL_CC=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' 'CLANG_TRIPLE=aarch64-linux-gnu-'
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin)
arch/arm64/Makefile:38: LSE atomics not supported by binutils
arch/arm64/Makefile:52: Detected assembler with broken .inst; disassembly will be unreliable
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin)
scripts/kconfig/conf -s --syncconfig Kconfig
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin)
arch/arm64/Makefile:38: LSE atomics not supported by binutils
arch/arm64/Makefile:52: Detected assembler with broken .inst; disassembly will be unreliable
../security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
"QGKI Spectra Camera Building as DLKM"
"SPECTRA_CAMERA IS MODULAR"
"SPECTRA_CAMERA IS MODULAR"
camera_adaptive_mipi=""
camera_adaptive_mipi=""
cp: missing destination file operand after '../techpack/camera/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_uw_dual.h'
Try 'cp --help' for more information.
camera_adaptive_mipi=""
"SPECTRA CAMERA IS BUILT AS DLKM"
make[2]: *** [../scripts/Makefile.build:288: scripts/mod/empty.o] Error 1
make[1]: *** [/home/$USER/git/mck/Makefile:1227: prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
cp: cannot stat '../../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../../system/logging/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
kperfmon_DUMMY=""
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
+/bin/zsh:18> pwd
zsh: no matches found: /home/$USER/git/mck/out/*.ko
+/bin/zsh:19> anykernel/anykernel.sh ./out
zsh: no such file or directory: anykernel/anykernel.sh
+/bin/zsh:20> set +xv
Where is supposed to be aarch64-linux-android-elfedit
? I don't see it in this repo or on android-ndk. I only see it on some repo of custom kernel over here. I did paru -S --needed android-sdk $(paru -Ss android-ndk | grep ^aur | cut -d '/' -f 2 | cut -d ' ' -f 1 | sort --random-sort | head -1)
until /opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-elfedit
appeared. I guess that it's something too old/new for r25.c-1. It needed another version
Attempt 7
$ ./buildMck.sh
paru -S --needed android-sdk `paru -Ss android-ndk | grep ^aur | cut -d '/' -f 2 | cut -d ' ' -f 1 | sort --random-sort | head -1`
++ paru -Ss android-ndk
++ grep '^aur'
++ cut -d / -f 2
++ cut -d ' ' -f 1
++ sort --random-sort
++ head -1
+ paru -S --needed android-sdk android-ndk
:: Resolving dependencies...
:: There are 5 providers available for android-sdk:
:: Repository AUR:
1) android-sdk 2) android-sdk-cmdline-tools-latest 3) android-sdk-cmdline-tools-latest-dummy 4) android-sdk-debian 5) android-sdk-dummy
Enter a number (default=1):
:: There are 11 providers available for android-ndk:
:: Repository AUR:
1) android-ndk 2) android-ndk-10e 3) android-ndk-11c 4) android-ndk-13b 5) android-ndk-14b 6) android-ndk-16b 7) android-ndk-16b-opt 8) android-ndk-19 9) android-ndk-20b 10) android-ndk-r17c 11) android-ndk-r18b
Enter a number (default=1):
:: android-sdk-26.1.1-2 is up to date -- skipping
:: Calculating conflicts...
:: Calculating inner conflicts...
:: Conflicts found:
android-ndk: android-ndk-r18b (android-ndk)
:: Conflicting packages will have to be confirmed manually
Aur (1) android-ndk-r25.c-1
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: android-ndk r25.c-1 (Thu Mar 30 18:36:38 2023)
==> Retrieving sources...
-> Found android-ndk.sh
-> Found android-ndk-r25c-linux.zip
==> Validating source files with sha1sums...
android-ndk.sh ... Passed
==> Validating source_x86_64 files with sha1sums...
android-ndk-r25c-linux.zip ... Passed
==> Validating source files with sha256sums...
android-ndk.sh ... Passed
==> Validating source_x86_64 files with sha256sums...
android-ndk-r25c-linux.zip ... Passed
==> Making package: android-ndk r25.c-1 (Thu Mar 30 18:36:41 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found android-ndk.sh
-> Found android-ndk-r25c-linux.zip
==> Validating source files with sha1sums...
android-ndk.sh ... Passed
==> Validating source_x86_64 files with sha1sums...
android-ndk-r25c-linux.zip ... Passed
==> Validating source files with sha256sums...
android-ndk.sh ... Passed
==> Validating source_x86_64 files with sha256sums...
android-ndk-r25c-linux.zip ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting android-ndk-r25c-linux.zip with bsdtar
==> Sources are ready.
android-ndk-r25.c-1: parsing pkg list...
:: android-ndk-r25.c-1 is up to date -- skipping build
[sudo] password for $USER:
loading packages...
resolving dependencies...
looking for conflicting packages...
:: android-ndk and android-ndk-r18b are in conflict. Remove android-ndk-r18b? [y/N] y
Packages (2) android-ndk-r18b-r18b-1 [removal] android-ndk-r25.c-1
Total Installed Size: 1624.50 MiB
Net Upgrade Size: -271.35 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################################################] 100%
(1/1) checking package integrity [######################################################] 100%
(1/1) loading package files [######################################################] 100%
(1/1) checking for file conflicts [######################################################] 100%
(2/2) checking available disk space [######################################################] 100%
:: Processing package changes...
(1/1) removing android-ndk-r18b [######################################################] 100%
(1/1) installing android-ndk [######################################################] 100%
Source /etc/profile.d/android-ndk.sh or login again to add the
Android NDK tools to your path.
Optional dependencies for android-ndk
ncurses5-compat-libs: for using gdb [installed]
python2: various helper scripts [installed]
python: various helper scripts [installed]
set +xv
+ set +xv
projectPath=git/mck
+ projectPath=git/mck
cd $projectPath
+ cd git/mck
projectPath=.
+ projectPath=.
CLANG_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64 # sudo find / -name clang -type f
+ CLANG_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
GCC_DIRECTORY=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 # sudo find / -name aarch64-linux-android-elfedit
+ GCC_DIRECTORY=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64
JOBS=$(( `nproc` - 1 ))
++ nproc
+ JOBS=11
export PATH=$CLANG_DIRECTORY/bin:$PATH
+ export PATH=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk-beta:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin:/opt/android-ndk:/opt/android-ndk-beta
+ PATH=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk-beta:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin:/opt/android-ndk:/opt/android-ndk-beta
export ARCH=arm64
+ export ARCH=arm64
+ ARCH=arm64
export LLVM=1
+ export LLVM=1
+ LLVM=1
mkdir out
+ mkdir out
mkdir: cannot create directory ‘out’: File exists
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
++ pwd
++ pwd
+ make -j11 -C /home/$USER/git/mck O=/home/$USER/git/mck/out ARCH=arm64 CROSS_COMPILE=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- REAL_CC=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin)
KCONFIG_VARIANT((null))
KCONFIG_DEBUG((null))
make: Leaving directory '/home/$USER/git/mck'
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
++ pwd
++ pwd
+ make -j11 -C /home/$USER/git/mck O=/home/$USER/git/mck/out ARCH=arm64 CROSS_COMPILE=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- REAL_CC=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
make: Entering directory '/home/$USER/git/mck'
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin)
arch/arm64/Makefile:52: Detected assembler with broken .inst; disassembly will be unreliable
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin)
scripts/kconfig/conf -s --syncconfig Kconfig
which: no aarch64-linux-android-elfedit in (/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin)
arch/arm64/Makefile:38: LSE atomics not supported by binutils
arch/arm64/Makefile:52: Detected assembler with broken .inst; disassembly will be unreliable
../security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
"QGKI Spectra Camera Building as DLKM"
"SPECTRA_CAMERA IS MODULAR"
"SPECTRA_CAMERA IS MODULAR"
camera_adaptive_mipi=""
camera_adaptive_mipi=""
cp: missing destination file operand after '../techpack/camera/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_uw_dual.h'
Try 'cp --help' for more information.
camera_adaptive_mipi=""
"SPECTRA CAMERA IS BUILT AS DLKM"
make[2]: *** [../scripts/Makefile.build:288: scripts/mod/empty.o] Error 1
make[1]: *** [/home/$USER/git/mck/Makefile:1227: prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
cp: cannot stat '../../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../../system/logging/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
kperfmon_DUMMY=""
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
++ pwd
+ /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip -S '/home/$USER/git/mck/out/*.ko'
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip: error: '/home/$USER/git/mck/out/*.ko': No such file or directory
anykernel/anykernel.sh $projectPath/out
+ anykernel/anykernel.sh ./out
./buildMck.sh: line 21: anykernel/anykernel.sh: No such file or directory
set +xv
+ set +xv
Attempt 8
└─[0] ./buildMck.sh ~
paru -S --needed android-sdk android-ndk-r18b
+ paru -S --needed android-sdk android-ndk-r18b
:: Resolving dependencies...
:: android-sdk-26.1.1-2 is up to date -- skipping
:: Calculating conflicts...
:: Calculating inner conflicts...
:: Conflicts found:
android-ndk-r18b: android-ndk
:: Conflicting packages will have to be confirmed manually
Aur (1) android-ndk-r18b-r18b-1
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: android-ndk-r18b r18b-1 (Thu Mar 30 18:44:13 2023)
==> Retrieving sources...
-> Found android-ndk.sh
-> Found android-ndk-r18b-linux-x86_64.zip
==> Validating source files with sha256sums...
android-ndk.sh ... Passed
android-ndk-r18b-linux-x86_64.zip ... Passed
==> Making package: android-ndk-r18b r18b-1 (Thu Mar 30 18:44:15 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found android-ndk.sh
-> Found android-ndk-r18b-linux-x86_64.zip
==> Validating source files with sha256sums...
android-ndk.sh ... Passed
android-ndk-r18b-linux-x86_64.zip ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting android-ndk-r18b-linux-x86_64.zip with bsdtar
==> Sources are ready.
android-ndk-r18b-r18b-1: parsing pkg list...
:: android-ndk-r18b-r18b-1 is up to date -- skipping build
[sudo] password for $USER:
loading packages...
resolving dependencies...
looking for conflicting packages...
:: android-ndk-r18b and android-ndk are in conflict. Remove android-ndk? [y/N] y
Packages (2) android-ndk-r25.c-1 [removal] android-ndk-r18b-r18b-1
Total Installed Size: 1895.86 MiB
Net Upgrade Size: 271.35 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################################################] 100%
(1/1) checking package integrity [######################################################] 100%
(1/1) loading package files [######################################################] 100%
(1/1) checking for file conflicts [######################################################] 100%
(2/2) checking available disk space [######################################################] 100%
:: Processing package changes...
(1/1) removing android-ndk [######################################################] 100%
(1/1) installing android-ndk-r18b [######################################################] 100%
set +xv
+ set +xv
projectPath=git/mck
+ projectPath=git/mck
cd $projectPath
+ cd git/mck
projectPath=.
+ projectPath=.
CLANG_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64 # sudo find / -name clang -type f
+ CLANG_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
GCC_DIRECTORY=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 # sudo find / -name aarch64-linux-android-elfedit
+ GCC_DIRECTORY=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64
JOBS=$(( `nproc` - 1 ))
++ nproc
+ JOBS=11
export PATH=$CLANG_DIRECTORY/bin:$PATH
+ export PATH=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk-beta:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin:/opt/android-ndk:/opt/android-ndk-beta
+ PATH=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk-beta:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin:/opt/android-ndk:/opt/android-ndk-beta
export ARCH=arm64
+ export ARCH=arm64
+ ARCH=arm64
export LLVM=1
+ export LLVM=1
+ LLVM=1
mkdir out
+ mkdir out
mkdir: cannot create directory ‘out’: File exists
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
++ pwd
++ pwd
+ make -j11 -C /home/$USER/git/mck O=/home/$USER/git/mck/out ARCH=arm64 CROSS_COMPILE=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- REAL_CC=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/bin/mck'
KCONFIG_VARIANT((null))
KCONFIG_DEBUG((null))
make: Leaving directory '/home/$USER/bin/mck'
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
++ pwd
++ pwd
+ make -j11 -C /home/$USER/git/mck O=/home/$USER/git/mck/out ARCH=arm64 CROSS_COMPILE=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- REAL_CC=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
make: Entering directory '/home/$USER/bin/mck'
scripts/kconfig/conf -s --syncconfig Kconfig
../security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
"QGKI Spectra Camera Building as DLKM"
"SPECTRA_CAMERA IS MODULAR"
"SPECTRA_CAMERA IS MODULAR"
camera_adaptive_mipi=""
camera_adaptive_mipi=""
cp: missing destination file operand after '../techpack/camera/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_uw_dual.h'
Try 'cp --help' for more information.
camera_adaptive_mipi=""
"SPECTRA CAMERA IS BUILT AS DLKM"
cp: cannot stat '../../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../../system/logging/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
kperfmon_DUMMY=""
ld.lld: error: unknown argument: -n
make[2]: *** [../arch/arm64/kernel/vdso/Makefile:60: arch/arm64/kernel/vdso/vdso.so.dbg] Error 1
make[1]: *** [arch/arm64/Makefile:193: vdso_prepare] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/bin/mck'
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
++ pwd
+ /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip -S '/home/$USER/git/mck/out/*.ko'
llvm-strip: Unknown command line argument '-S'. Try: '/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip -help'
llvm-strip: Did you mean '-O'?
anykernel/anykernel.sh $projectPath/out
+ anykernel/anykernel.sh ./out
./buildMck.sh: line 21: anykernel/anykernel.sh: No such file or directory
set +xv
+ set +xv
Attempt 9
$HOST :: ~ » ./buildMck.sh
paru -S --needed android-sdk android-ndk-r18b
+ paru -S --needed android-sdk android-ndk-r18b
:: Resolving dependencies...
:: android-sdk-26.1.1-2 is up to date -- skipping
:: android-ndk-r18b-r18b-1 is up to date -- skipping
there is nothing to do
set +xv
+ set +xv
projectPath=git/mck
+ projectPath=git/mck
cd $projectPath
+ cd git/mck
projectPath=.
+ projectPath=.
CLANG_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64 # sudo find / -name clang -type f
+ CLANG_DIRECTORY=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64
GCC_DIRECTORY=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 # sudo find / -name aarch64-linux-android-elfedit
+ GCC_DIRECTORY=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64
JOBS=$(( `nproc` - 1 ))
++ nproc
+ JOBS=11
export PATH=$CLANG_DIRECTORY/bin:$PATH
+ export PATH=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk-beta:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin:/opt/android-ndk:/opt/android-ndk-beta
+ PATH=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/$USER/.dotnet/tools:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/opt/android-ndk-beta:/opt/android-ndk:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/flutter/bin:/opt/android-ndk:/opt/android-ndk-beta
export ARCH=arm64
+ export ARCH=arm64
+ ARCH=arm64
export LLVM=1
+ export LLVM=1
+ LLVM=1
mkdir out
+ mkdir out
mkdir: cannot create directory ‘out’: File exists
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
++ pwd
++ pwd
+ make -j11 -C /home/$USER/git/mck O=/home/$USER/git/mck/out ARCH=arm64 CROSS_COMPILE=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- REAL_CC=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/mesa_a52sxq_eur_open_defconfig
make: Entering directory '/home/$USER/git/mck'
KCONFIG_VARIANT((null))
KCONFIG_DEBUG((null))
make: Leaving directory '/home/$USER/git/mck'
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
++ pwd
++ pwd
+ make -j11 -C /home/$USER/git/mck O=/home/$USER/git/mck/out ARCH=arm64 CROSS_COMPILE=/opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- REAL_CC=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
make: Entering directory '/home/$USER/git/mck'
../security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
"QGKI Spectra Camera Building as DLKM"
"SPECTRA_CAMERA IS MODULAR"
"SPECTRA_CAMERA IS MODULAR"
camera_adaptive_mipi=""
camera_adaptive_mipi=""
cp: missing destination file operand after '../techpack/camera/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_uw_dual.h'
Try 'cp --help' for more information.
camera_adaptive_mipi=""
"SPECTRA CAMERA IS BUILT AS DLKM"
ld.lld: error: unknown argument: -n
make[2]: *** [../arch/arm64/kernel/vdso/Makefile:60: arch/arm64/kernel/vdso/vdso.so.dbg] Error 1
make[1]: *** [arch/arm64/Makefile:193: vdso_prepare] Error 2
make[1]: *** Waiting for unfinished jobs....
cp: cannot stat '../../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../../system/logging/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
cp: cannot stat '../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
kperfmon_DUMMY=""
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory '/home/$USER/git/mck'
$CLANG_DIRECTORY/bin/llvm-strip --strip-debug $(pwd)/out/*.ko
++ pwd
+ /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-debug '/home/$USER/git/mck/out/*.ko'
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip: '/home/$USER/git/mck/out/*.ko': No such file or directory
anykernel/anykernel.sh $projectPath/out
+ anykernel/anykernel.sh ./out
./buildMck.sh: line 21: anykernel/anykernel.sh: No such file or directory
set +xv
+ set +xv
lld seems to have the same problem as llvm-strip, not being the same version, not having the same parameters. Idk for which version it's supposed to work. I don't really know what to do for now, an exectuable from this repo, rejecting a command from this repo too. I just don't understand. I'm not even able to locate that command in the repo, as it seem created while compiling, nor determining which version should understand those arguments without complaining
Is there a way to know if what is in out
is complete, not corrupted, ready to be packaged and flashed without issues? I can achieve 1.7GB
I'm just stuck, I wait if you know
What all those commit has to see with my compilation issues?
These seems anterior to my issue and be an import of another project to that project in such a manner that it doesn't seem forked but rather the original project (maybe the android kernel)
Hello, so I cannot seem to build your kernel (tried other branches too) with the provided build script and your specific version clang toolchain, clang: r416183b1, gcc: aarch64-linux-android-4.9
This is my build log: https://pastebin.com/jiQAPATF
This is my build_kernel.sh script:
CLANG_DIRECTORY=$(pwd)/../clangnew
GCC_DIRECTORY=$(pwd)/../gcc/aarch64-linux-android
JOBS=$(( `nproc` - 1 ))
export PATH=$CLANG_DIRECTORY/bin:$PATH
export ARCH=arm64
export LLVM=1
mkdir out
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/a52sxq_eur_open_defconfig
make -j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
Hello, so I cannot seem to build your kernel (tried other branches too) with the provided build script and your specific version clang toolchain, clang: r416183b1, gcc: aarch64-linux-android-4.9
Do not use GCC and use Clang r383902b1 instead
SRC_DIR=$(pwd)
TC_DIR=/home/mesa/Desktop/Android/Toolchains/clang-r383902b1
JOBS=$(nproc)
MAKE_PARAMS="-j$JOBS -C $SRC_DIR O=$SRC_DIR/out ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- LLVM=1 CROSS_COMPILE=$TC_DIR/bin/llvm-"
export PATH="$TC_DIR/bin:$PATH"
make $MAKE_PARAMS vendor/a52sxq_eur_open_defconfig
make $MAKE_PARAMS
i get a /usr/bin/as: unrecognized option '-EL' on debian sid running on wsl
can you tell me your os configuration?
i specified a gcc to use a as which supports that option and the compile starts but it fails to compile
this is the modified build script
# Determine directories for Clang and GCC
CLANG_DIRECTORY=$(pwd)/../toolchain/clang2/
GCC_DIRECTORY=$(pwd)/../toolchain/gcc/
# Set job count for parallel compilation, leaving one core free
JOBS=$(( $(nproc) - 1 ))
# Update PATH to include Clang's bin directory
export PATH="$CLANG_DIRECTORY/bin:$PATH"
# Set environment variables for architecture and LLVM
export ARCH=arm64
export LLVM=1
# Create output directory if it doesn't exist
mkdir -p out
# Define make parameters for configuring the build and compiling
# Use GCC for cross-compiling and Clang as the real compiler
MAKE_PARAMS="-j$JOBS -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=$GCC_DIRECTORY/bin/aarch64-linux-android- REAL_CC=$CLANG_DIRECTORY/bin/clang CLANG_TRIPLE=aarch64-linux-gnu-"
# Configure the build for a specific defconfig
make $MAKE_PARAMS vendor/a52sxq_eur_open_defconfig
# Compile the kernel
make $MAKE_PARAMS
# Strip unnecessary symbols from kernel modules
$CLANG_DIRECTORY/bin/llvm-strip -S $(pwd)/out/*.ko
also i have attached the log for the compile
log1.txt