Skip to content

--asan not working on iOS targets #108469

Description

@jmagman
flutter/tools/gn --unopt --no-lto --runtime-mode=profile --ios --asan

errors:

ninja: error: '../../buildtools/mac-x64/clang/lib/clang/13.0.0/lib/darwin/libclang_rt.asan_ios_dynamic.dylib', needed by 'libclang_rt.asan_ios_dynamic.dylib', missing and no known rule to make it

changed the path to 15
https://github.com/flutter/engine/blob/3f093ea1e504326b4aa9c7adcf13f97575417bcf/shell/platform/darwin/ios/BUILD.gn#L314

-      "//buildtools/mac-x64/clang/lib/clang/13.0.0/lib/darwin/"
+      "//buildtools/mac-x64/clang/lib/clang/15.0.0/lib/darwin/"

But there is no libclang_rt.asan_ios_dynamic.dylib in clang, only libclang_rt.asan_osx_dynamic.dylib, so same error.

@iskakaushik

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listdependency: fuchsiaFuchsia team may need to help usengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions