Skip to content

How to get libclang.dll compatible with llvm-mingw? #519

@mirek-fidler

Description

@mirek-fidler

I wonder how to get compatible libclang.dll (that is stable C API to clang) with this toolchain?

Context: We have been using libclang.dll from win32 llvm, but that one is really configured for Visual C++ headers and libraries (well, predefined macros are). We simply redefine those macros for llvm-mingw, but recently have run into issues on certain cpus (really!) where libclang seems to detect some CPU features (like evex512 or missing it, hard to say) and then parsing fails with error in intrinsics headers. So I guess it is time for proper solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions