[PATCH] D102280: [analyzer] Engine: fix crash with SEH __leave keyword

Abbas Sabra via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 14 11:49:46 PDT 2021


AbbasSabra added a comment.



> Well, and how can I build them on Linux xD

Ah, I don't think they are meant to be built on Linux :D  Especially if they rely on Window specific features like SEH. If they do they will disable these features on Linux build.

> How do you use clang exactly?

I work on the C++ static analyzer at sonarsource <https://www.sonarsource.com/>  and we use Clang front-end. We rely on CSA for some of our rules. So for these projects, we build them on windows. We extract the compilation command from the windows build and we map them to an equivalent clang command before running the analysis.

Is it a requirement for you to build them on Linux? Maybe you can try to build them on windows with !!clang-cl!!?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102280/new/

https://reviews.llvm.org/D102280



More information about the cfe-commits mailing list