Skip to content

Cannot use customized LLVM by setting environ in the latest version #3240

Open
@seekamoon

Description

@seekamoon

Hi,

I made some modifications on the SanitizeCoverage of LLVM and hope to use this customized LLVM when run bindgen. I can achieve this by setting the environLD_LIBRARY_PATH and LIBCLANG_PATH, making them point to llvm-project/build/lib. And this practice works well for the old version (0.69.4) of bindgen.

But for the latest version (0.72.0), I found that I cannot affect bindgen by setting LD_LIBRARY_PATH and LIBCLANG_PATH. It always tries to use the default LLVM libs.

I guess there should be something changed. Could someone tell me how to use a customized LLVM with the latest version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions