[clang] Thread Safety Analysis: Compare values of literals (PR #148551)
Marco Elver via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 7 06:11:27 PST 2026
melver wrote:
> I was able to crash Clang with this commit (if I revert it, it no longer crashes):
>
> ```
> clang -cc1 -triple x86_64-unknown-linux-gnu -O2 -emit-obj -disable-free -clear-ast-before-backend -main-file-name cs-amp-lib.c -function-alignment 6 -falign-loops=1 -mrelocation-model static -fno-delete-null-pointer-checks -fwarn-stack-size=2048 -fno-jump-tables -mframe-pointer=none -relaxed-aliasing -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -mcmodel=kernel -target-cpu skylake-avx512 -target-feature +prfchw -target-feature -cldemote -target-feature +aes -target-feature +sahf -target-feature +pclmul -target-feature -xop -target-feature +crc32 -target-feature -amx-fp8 -target-feature +xsaves -target-feature -avx512fp16 -target-feature -usermsr -target-feature -sm4 -target-feature -egpr -target-feature +sse4.1 -target-feature -avx10.1 -target-feature -avx512ifma -target-feature +xsave -target-feature +sse4.2 -target-feature -tsxldtrk -target-feature -sm3 -target-feature -ptwrite -target-feature -widekl -target-feature -movrs -target-feature +invpcid -target-feature +64bit -target-feature +xsavec -target-feature -avx512vpopcntdq -target-feature +cmov -target-feature -avx512vp2intersect -target-feature +avx512cd -target-feature +movbe -target-feature -avxvnniint8 -target-feature -ccmp -target-feature -amx-int8 -target-feature -kl -target-feature -sha512 -target-feature -avxvnni -target-feature +rtm -target-feature +adx -target-feature +avx2 -target-feature -hreset -target-feature -movdiri -target-feature -serialize -target-feature -vpclmulqdq -target-feature +avx512vl -target-feature -uintr -target-feature -cf -target-feature +clflushopt -target-feature -raoint -target-feature -cmpccxadd -target-feature +bmi -target-feature -amx-tile -target-feature -gfni -target-feature -avxvnniint16 -target-feature -amx-fp16 -target-feature -zu -target-feature -ndd -target-feature +xsaveopt -target-feature +rdrnd -target-feature +avx512f -target-feature -amx-bf16 -target-feature -avx512bf16 -target-feature -avx512vnni -target-feature -push2pop2 -target-feature +cx8 -target-feature +avx512bw -target-feature +sse3 -target-feature +pku -target-feature -nf -target-feature -amx-tf32 -target-feature -amx-avx512 -target-feature +fsgsbase -target-feature -clzero -target-feature -mwaitx -target-feature -lwp -target-feature +lzcnt -target-feature -sha -target-feature -movdir64b -target-feature -ppx -target-feature -wbnoinvd -target-feature -enqcmd -target-feature -avxneconvert -target-feature -tbm -target-feature -pconfig -target-feature -amx-complex -target-feature +ssse3 -target-feature +cx16 -target-feature -avx10.2 -target-feature +bmi2 -target-feature +fma -target-feature +popcnt -target-feature -avxifma -target-feature +f16c -target-feature -avx512bitalg -target-feature -rdpru -target-feature +clwb -target-feature +rdseed -target-feature -avx512vbmi2 -target-feature -prefetchi -target-feature -amx-movrs -target-feature -rdpid -target-feature -fma4 -target-feature -avx512vbmi -target-feature -shstk -target-feature -vaes -target-feature -waitpkg -target-feature -sgx -target-feature +fxsr -target-feature +avx512dq -target-feature +retpoline-indirect-calls -target-feature +retpoline-indirect-branches -target-feature -sse -target-feature -mmx -target-feature -sse2 -target-feature -avx -target-feature -sse4a -target-feature -x87 -target-feature +retpoline-external-thunk -target-feature +harden-sls-ijmp -target-feature +harden-sls-ret -disable-red-zone -mskip-rax-setup -fdebug-info-for-profiling -gkey-instructions -debug-info-kind=line-tables-only -dwarf-version=5 -debugger-tuning=gdb -fdebug-compilation-dir=/usr/local/google/home/elver/workspace/linux-tmp -fbasic-block-address-map -fcoverage-compilation-dir=/usr/local/google/home/elver/workspace/linux-tmp -nostdsysteminc -nobuiltininc -D __KERNEL__ -D CC_USING_NOP_MCOUNT -D CC_USING_FENTRY -D RANDSTRUCT -D WARN_CONTEXT_ANALYSIS -D KBUILD_MODFILE=\"sound/soc/codecs/snd-soc-cs-amp-lib\" -D KBUILD_BASENAME=\"cs_amp_lib\" -D KBUILD_MODNAME=\"snd_soc_cs_amp_lib\" -D __KBUILD_MODNAME=snd_soc_cs_amp_lib -Werror=unknown-warning-option -Werror=ignored-optimization-argument -Werror=option-ignored -Werror=unused-command-line-argument -Wno-sign-compare -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-gnu -Wno-microsoft-anon-tag -Wno-format-overflow-non-kprintf -Wno-format-truncation-non-kprintf -Wno-default-const-init-unsafe -Wno-type-limits -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wimplicit-fallthrough -Werror=date-time -Werror=incompatible-pointer-types -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-format-overflow -Wno-override-init -Wno-pointer-to-enum-cast -Wno-tautological-constant-out-of-range-compare -Wno-unaligned-access -Wno-enum-compare-conditional -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-enum-enum-conversion -Wno-sign-compare -Wno-unused-parameter -Wthread-safety -Wthread-safety-pointer -Wthread-safety-beta -std=gnu11 -ferror-limit 19 -fzero-call-used-regs=used-gpr -fpatchable-function-entry=59 -fpatchable-function-entry-offset=59 -pg -mfentry -fwrapv -fwrapv-pointer -fstrict-flex-arrays=3 -stack-protector 2 -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -ftrivial-auto-var-init=pattern -mstack-alignment=8 -fcf-protection=branch -mfunction-return=thunk-extern -mindirect-branch-cs-prefix -fno-builtin-wcslen -fno-signed-char -fwchar-type=short -fno-signed-wchar -fms-extensions -fms-anonymous-structs -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -vectorize-loops -vectorize-slp -fexperimental-late-parse-attributes -mllvm -asan-mapping-offset=0xdffffc0000000000 -mllvm -asan-instrumentation-with-call-threshold=10000 -mllvm -asan-stack=0 -mllvm -asan-globals=1 -mllvm -asan-kernel-mem-intrinsic-prefix=1 -mllvm -enable-fs-discriminator=true -mllvm -improved-fs-discriminator=true -fsanitize-coverage-type=1 -fsanitize-coverage-type=3 -fsanitize-coverage-trace-cmp -fsanitize-coverage-trace-pc -fsanitize-coverage-stack-depth -fsanitize-coverage-stack-depth-callback-min=100 -fsanitize=kernel-address,array-bounds,bool,enum,shift-base,shift-exponent,kcfi -fsanitize-recover=kernel-address,array-bounds,bool,enum,shift-base,shift-exponent,kcfi -fsanitize-merge=array-bounds,bool,enum,shift-base,shift-exponent -fno-sanitize-memory-param-retval -fsanitize-cfi-icall-experimental-normalize-integers -fsanitize-kcfi-arity -fsanitize-address-use-after-scope -fno-sanitize-address-use-odr-indicator -faddrsig -fdwarf2-cfi-asm -x c cs-amp-lib-d6b847.c
> 1. sound/soc/codecs/cs-amp-lib.c:805:1: current parser token 'const'
> 2. sound/soc/codecs/cs-amp-lib.c:735:1: parsing function body 'cs_amp_devm_get_dell_ssidex'
> #0 0x000056007f8e7ed8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x3bb6ed8)
> #1 0x000056007f8e55d5 llvm::sys::RunSignalHandlers() (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x3bb45d5)
> #2 0x000056007f8e8cd1 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
> #3 0x00007ffab1a18df0 (/lib/x86_64-linux-gnu/libc.so.6+0x3fdf0)
> #4 0x00007ffab1a6d95c __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
> #5 0x00007ffab1a18cc2 raise ./signal/../sysdeps/posix/raise.c:27:6
> #6 0x00007ffab1a014ac abort ./stdlib/abort.c:81:3
> #7 0x00007ffab1a01420 __assert_perror_fail ./assert/assert-perr.c:31:1
> #8 0x000056007fd07adc (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x3fd6adc)
> #9 0x000056008231110e clang::threadSafety::SExprBuilder::translate(clang::Stmt const*, clang::threadSafety::SExprBuilder::CallingContext*) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x65e010e)
> #10 0x000056008231252e clang::threadSafety::SExprBuilder::translateCallExpr(clang::CallExpr const*, clang::threadSafety::SExprBuilder::CallingContext*, clang::Expr const*) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x65e152e)
> #11 0x0000560082311783 clang::threadSafety::SExprBuilder::translateVariable(clang::VarDecl const*, clang::threadSafety::SExprBuilder::CallingContext*) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x65e0783)
> #12 0x00005600822fe80c (anonymous namespace)::ThreadSafetyAnalyzer::runAnalysis(clang::AnalysisDeclContext&) ThreadSafety.cpp:0:0
> #13 0x00005600822fa4cf clang::threadSafety::runThreadSafetyAnalysis(clang::AnalysisDeclContext&, clang::threadSafety::ThreadSafetyHandler&, clang::threadSafety::BeforeSet**) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x65c94cf)
> #14 0x00005600821a0310 clang::sema::AnalysisBasedWarnings::IssueWarnings(clang::sema::AnalysisBasedWarnings::Policy, clang::sema::FunctionScopeInfo*, clang::Decl const*, clang::QualType) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x646f310)
> #15 0x00005600818ed5d5 clang::Sema::PopFunctionScopeInfo(clang::sema::AnalysisBasedWarnings::Policy const*, clang::Decl*, clang::QualType) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5bbc5d5)
> #16 0x0000560081a96110 clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*, bool, bool) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5d65110)
> #17 0x000056008186e608 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5b3d608)
> #18 0x000056008179712e clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5a6612e)
> #19 0x00005600817be594 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5a8d594)
> #20 0x000056008179604f clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5a6504f)
> #21 0x0000560081795936 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5a64936)
> #22 0x00005600817949de clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5a639de)
> #23 0x0000560081792c00 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5a61c00)
> #24 0x0000560081786cfe clang::ParseAST(clang::Sema&, bool, bool) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x5a55cfe)
> #25 0x0000560080324866 clang::FrontendAction::Execute() (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x45f3866)
> #26 0x000056008028ab2d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x4559b2d)
> #27 0x000056008040d57a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0x46dc57a)
> #28 0x000056007cc554da cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0xf244da)
> #29 0x000056007cc5137f ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) driver.cpp:0:0
> #30 0x000056007cc503cb clang_main(int, char**, llvm::ToolContext const&) (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0xf1f3cb)
> #31 0x000056007cc60917 main (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0xf2f917)
> #32 0x00007ffab1a02ca8 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
> #33 0x00007ffab1a02d65 call_init ./csu/../csu/libc-start.c:128:20
> #34 0x00007ffab1a02d65 __libc_start_main ./csu/../csu/libc-start.c:347:5
> #35 0x000056007cc4ed81 _start (/usr/local/google/home/elver/third_party/llvm/build/bin/clang+0xf1dd81)
> ./cs-amp-lib-d6b847.sh: line 1: 1928721 Aborted (core dumped) "$CC" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-O2" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "cs-amp-lib.c" "-function-alignment" "6" "-falign-loops=1" "-mrelocation-model" "static" "-fno-delete-null-pointer-checks" "-fwarn-stack-size=2048" "-fno-jump-tables" "-mframe-pointer=none" "-relaxed-aliasing" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-mcmodel=kernel" "-target-cpu" "skylake-avx512" "-target-feature" "+prfchw" "-target-feature" "-cldemote" "-target-feature" "+aes" "-target-feature" "+sahf" "-target-feature" "+pclmul" "-target-feature" "-xop" "-target-feature" "+crc32" "-target-feature" "-amx-fp8" "-target-feature" "+xsaves" "-target-feature" "-avx512fp16" "-target-feature" "-usermsr" "-target-feature" "-sm4" "-target-feature" "-egpr" "-target-feature" "+sse4.1" "-target-feature" "-avx10.1" "-target-feature" "-avx512ifma" "-target-feature" "+xsave" "-target-feature" "+sse4.2" "-target-feature" "-tsxldtrk" "-target-feature" "-sm3" "-target-feature" "-ptwrite" "-target-feature" "-widekl" "-target-feature" "-movrs" "-target-feature" "+invpcid" "-target-feature" "+64bit" "-target-feature" "+xsavec" "-target-feature" "-avx512vpopcntdq" "-target-feature" "+cmov" "-target-feature" "-avx512vp2intersect" "-target-feature" "+avx512cd" "-target-feature" "+movbe" "-target-feature" "-avxvnniint8" "-target-feature" "-ccmp" "-target-feature" "-amx-int8" "-target-feature" "-kl" "-target-feature" "-sha512" "-target-feature" "-avxvnni" "-target-feature" "+rtm" "-target-feature" "+adx" "-target-feature" "+avx2" "-target-feature" "-hreset" "-target-feature" "-movdiri" "-target-feature" "-serialize" "-target-feature" "-vpclmulqdq" "-target-feature" "+avx512vl" "-target-feature" "-uintr" "-target-feature" "-cf" "-target-feature" "+clflushopt" "-target-feature" "-raoint" "-target-feature" "-cmpccxadd" "-target-feature" "+bmi" "-target-feature" "-amx-tile" "-target-feature" "-gfni" "-target-feature" "-avxvnniint16" "-target-feature" "-amx-fp16" "-target-feature" "-zu" "-target-feature" "-ndd" "-target-feature" "+xsaveopt" "-target-feature" "+rdrnd" "-target-feature" "+avx512f" "-target-feature" "-amx-bf16" "-target-feature" "-avx512bf16" "-target-feature" "-avx512vnni" "-target-feature" "-push2pop2" "-target-feature" "+cx8" "-target-feature" "+avx512bw" "-target-feature" "+sse3" "-target-feature" "+pku" "-target-feature" "-nf" "-target-feature" "-amx-tf32" "-target-feature" "-amx-avx512" "-target-feature" "+fsgsbase" "-target-feature" "-clzero" "-target-feature" "-mwaitx" "-target-feature" "-lwp" "-target-feature" "+lzcnt" "-target-feature" "-sha" "-target-feature" "-movdir64b" "-target-feature" "-ppx" "-target-feature" "-wbnoinvd" "-target-feature" "-enqcmd" "-target-feature" "-avxneconvert" "-target-feature" "-tbm" "-target-feature" "-pconfig" "-target-feature" "-amx-complex" "-target-feature" "+ssse3" "-target-feature" "+cx16" "-target-feature" "-avx10.2" "-target-feature" "+bmi2" "-target-feature" "+fma" "-target-feature" "+popcnt" "-target-feature" "-avxifma" "-target-feature" "+f16c" "-target-feature" "-avx512bitalg" "-target-feature" "-rdpru" "-target-feature" "+clwb" "-target-feature" "+rdseed" "-target-feature" "-avx512vbmi2" "-target-feature" "-prefetchi" "-target-feature" "-amx-movrs" "-target-feature" "-rdpid" "-target-feature" "-fma4" "-target-feature" "-avx512vbmi" "-target-feature" "-shstk" "-target-feature" "-vaes" "-target-feature" "-waitpkg" "-target-feature" "-sgx" "-target-feature" "+fxsr" "-target-feature" "+avx512dq" "-target-feature" "+retpoline-indirect-calls" "-target-feature" "+retpoline-indirect-branches" "-target-feature" "-sse" "-target-feature" "-mmx" "-target-feature" "-sse2" "-target-feature" "-avx" "-target-feature" "-sse4a" "-target-feature" "-x87" "-target-feature" "+retpoline-external-thunk" "-target-feature" "+harden-sls-ijmp" "-target-feature" "+harden-sls-ret" "-disable-red-zone" "-mskip-rax-setup" "-fdebug-info-for-profiling" "-gkey-instructions" "-debug-info-kind=line-tables-only" "-dwarf-version=5" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/usr/local/google/home/elver/workspace/linux-tmp" "-fbasic-block-address-map" "-fcoverage-compilation-dir=/usr/local/google/home/elver/workspace/linux-tmp" "-nostdsysteminc" "-nobuiltininc" "-D" "__KERNEL__" "-D" "CC_USING_NOP_MCOUNT" "-D" "CC_USING_FENTRY" "-D" "RANDSTRUCT" "-D" "WARN_CONTEXT_ANALYSIS" "-D" "KBUILD_MODFILE=\"sound/soc/codecs/snd-soc-cs-amp-lib\"" "-D" "KBUILD_BASENAME=\"cs_amp_lib\"" "-D" "KBUILD_MODNAME=\"snd_soc_cs_amp_lib\"" "-D" "__KBUILD_MODNAME=snd_soc_cs_amp_lib" "-Werror=unknown-warning-option" "-Werror=ignored-optimization-argument" "-Werror=option-ignored" "-Werror=unused-command-line-argument" "-Wno-sign-compare" "-Wall" "-Wextra" "-Wundef" "-Werror=implicit-function-declaration" "-Werror=implicit-int" "-Werror=return-type" "-Werror=strict-prototypes" "-Wno-format-security" "-Wno-trigraphs" "-Wno-frame-address" "-Wno-address-of-packed-member" "-Wmissing-declarations" "-Wmissing-prototypes" "-Wframe-larger-than=2048" "-Wno-gnu" "-Wno-microsoft-anon-tag" "-Wno-format-overflow-non-kprintf" "-Wno-format-truncation-non-kprintf" "-Wno-default-const-init-unsafe" "-Wno-type-limits" "-Wno-pointer-sign" "-Wcast-function-type" "-Wno-unterminated-string-initialization" "-Wimplicit-fallthrough" "-Werror=date-time" "-Werror=incompatible-pointer-types" "-Wenum-conversion" "-Wunused" "-Wno-unused-but-set-variable" "-Wno-unused-const-variable" "-Wno-format-overflow" "-Wno-override-init" "-Wno-pointer-to-enum-cast" "-Wno-tautological-constant-out-of-range-compare" "-Wno-unaligned-access" "-Wno-enum-compare-conditional" "-Wno-missing-field-initializers" "-Wno-shift-negative-value" "-Wno-enum-enum-conversion" "-Wno-sign-compare" "-Wno-unused-parameter" "-Wthread-safety" "-Wthread-safety-pointer" "-Wthread-safety-beta" "-std=gnu11" "-ferror-limit" "19" "-fzero-call-used-regs=used-gpr" "-fpatchable-function-entry=59" "-fpatchable-function-entry-offset=59" "-pg" "-mfentry" "-fwrapv" "-fwrapv-pointer" "-fstrict-flex-arrays=3" "-stack-protector" "2" "-mstack-protector-guard-reg=gs" "-mstack-protector-guard-symbol=__ref_stack_chk_guard" "-ftrivial-auto-var-init=pattern" "-mstack-alignment=8" "-fcf-protection=branch" "-mfunction-return=thunk-extern" "-mindirect-branch-cs-prefix" "-fno-builtin-wcslen" "-fno-signed-char" "-fwchar-type=short" "-fno-signed-wchar" "-fms-extensions" "-fms-anonymous-structs" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-vectorize-loops" "-vectorize-slp" "-fexperimental-late-parse-attributes" "-mllvm" "-asan-mapping-offset=0xdffffc0000000000" "-mllvm" "-asan-instrumentation-with-call-threshold=10000" "-mllvm" "-asan-stack=0" "-mllvm" "-asan-globals=1" "-mllvm" "-asan-kernel-mem-intrinsic-prefix=1" "-mllvm" "-enable-fs-discriminator=true" "-mllvm" "-improved-fs-discriminator=true" "-fsanitize-coverage-type=1" "-fsanitize-coverage-type=3" "-fsanitize-coverage-trace-cmp" "-fsanitize-coverage-trace-pc" "-fsanitize-coverage-stack-depth" "-fsanitize-coverage-stack-depth-callback-min=100" "-fsanitize=kernel-address,array-bounds,bool,enum,shift-base,shift-exponent,kcfi" "-fsanitize-recover=kernel-address,array-bounds,bool,enum,shift-base,shift-exponent,kcfi" "-fsanitize-merge=array-bounds,bool,enum,shift-base,shift-exponent" "-fno-sanitize-memory-param-retval" "-fsanitize-cfi-icall-experimental-normalize-integers" "-fsanitize-kcfi-arity" "-fsanitize-address-use-after-scope" "-fno-sanitize-address-use-odr-indicator" "-faddrsig" "-fdwarf2-cfi-asm" "-x" "c" "cs-amp-lib-d6b847.c"
> ```
>
> [cs-amp-lib-d6b847.c](https://github.com/user-attachments/files/25138513/cs-amp-lib-d6b847.c) [cs-amp-lib-d6b847.sh](https://github.com/user-attachments/files/25138516/cs-amp-lib-d6b847.sh)
>
> cc @bvanassche
Should be fixed by https://github.com/llvm/llvm-project/pull/180349
https://github.com/llvm/llvm-project/pull/148551
More information about the cfe-commits
mailing list