[clang] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompoundVal` (PR #87521)

2024-04-10 Thread Andrew V. Teylu via cfe-commits
aytey wrote: @steakhal @haoNoQ how's this looking to you? anything further for me to do? https://github.com/llvm/llvm-project/pull/87521 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompoundVal` (PR #87521)

2024-04-10 Thread Andrew V. Teylu via cfe-commits
https://github.com/aytey updated https://github.com/llvm/llvm-project/pull/87521 >From 1f70839ea1607f151c9f7eb390fcb974b32a54ca Mon Sep 17 00:00:00 2001 From: "Andrew V. Teylu" Date: Wed, 3 Apr 2024 17:18:08 +0100 Subject: [PATCH 1/3] [analyzer] `canReasonAbout` does not support `nonloc::LazyCo

[clang] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompoundVal` (PR #87521)

2024-04-08 Thread Andrew V. Teylu via cfe-commits
https://github.com/aytey updated https://github.com/llvm/llvm-project/pull/87521 >From 1f70839ea1607f151c9f7eb390fcb974b32a54ca Mon Sep 17 00:00:00 2001 From: "Andrew V. Teylu" Date: Wed, 3 Apr 2024 17:18:08 +0100 Subject: [PATCH 1/3] [analyzer] `canReasonAbout` does not support `nonloc::LazyCo

[clang] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompoundVal` (PR #87521)

2024-04-04 Thread Andrew V. Teylu via cfe-commits
https://github.com/aytey updated https://github.com/llvm/llvm-project/pull/87521 >From 1f70839ea1607f151c9f7eb390fcb974b32a54ca Mon Sep 17 00:00:00 2001 From: "Andrew V. Teylu" Date: Wed, 3 Apr 2024 17:18:08 +0100 Subject: [PATCH 1/3] [analyzer] `canReasonAbout` does not support `nonloc::LazyCo

[clang] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompoundVal` (PR #87521)

2024-04-04 Thread Andrew V. Teylu via cfe-commits
aytey wrote: > I suspect that you're loading checkers as clang plugins and one of them is > causing it. So here's how I'm invoking `clang` for those crashes: * `./bin/clang -cc1 -analyze -analyzer-checker=nullability.NullPassedToNonnull -analyzer-config aggressive-binary-operation-simplificat

[clang] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompoundVal` (PR #87521)

2024-04-04 Thread Andrew V. Teylu via cfe-commits
https://github.com/aytey updated https://github.com/llvm/llvm-project/pull/87521 >From 1f70839ea1607f151c9f7eb390fcb974b32a54ca Mon Sep 17 00:00:00 2001 From: "Andrew V. Teylu" Date: Wed, 3 Apr 2024 17:18:08 +0100 Subject: [PATCH] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompou

[clang] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompoundVal` (PR #87521)

2024-04-04 Thread Andrew V. Teylu via cfe-commits
@@ -0,0 +1,17 @@ +// REQUIRES: crash-recovery, asserts aytey wrote: Actually, that's a good point. I added that bit because the only way I can *guarantee* it will crash (with main) is if we have asserts on. I'll remove this, but if someone wants to check the t

[clang] [clang-repl] Add call to 'InitializeAllAsmParsers' (PR #86727)

2024-04-02 Thread Andrew V. Teylu via cfe-commits
aytey wrote: > > @weliveindetail @vgvassilev @junaire: sorry for pinging you directly, but > > could you take a look at this PR? I see you're all active on other > > `clang-repl` PRs, so thought you might be the best place to start to take a > > look at this one 🤞 > > Hi, thanks for the PR. I

[clang] [clang-repl] Add call to 'InitializeAllAsmParsers' (PR #86727)

2024-04-02 Thread Andrew V. Teylu via cfe-commits
aytey wrote: @weliveindetail @vgvassilev @junaire: sorry for pinging you directly, but could you take a look at this PR? I see you're all active on other `clang-repl` PRs, so thought you might be the best place to start to take a look at this one 🤞 https://github.com/llvm/llvm-project/pull/86

[clang] [clang-repl] Add call to 'InitializeAllAsmParsers' (PR #86727)

2024-04-02 Thread Andrew V. Teylu via cfe-commits
https://github.com/aytey updated https://github.com/llvm/llvm-project/pull/86727 >From 480d77eb88df2abc589c4be90ceab200cb3fac98 Mon Sep 17 00:00:00 2001 From: "Andrew V. Teylu" Date: Tue, 26 Mar 2024 20:10:24 + Subject: [PATCH 1/2] [clang-repl] Add call to 'InitializeAllAsmParsers' Signed-o

[clang] [clang-repl] Add call to 'InitializeAllAsmParsers' (PR #86727)

2024-03-26 Thread Andrew V. Teylu via cfe-commits
aytey wrote: ```avj@host /tmp/clang_build$ ./bin/llvm-lit -v /tmp/llvm-project/clang/test/Interpreter/inline-asm.cpp llvm-lit: /tmp/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using clang: /tmp/clang_build/bin/clang -- Testing: 1 tests, 1 workers -- PASS: Clang :: Interpreter/inli

[clang] [clang-repl] Add call to 'InitializeAllAsmParsers' (PR #86727)

2024-03-26 Thread Andrew V. Teylu via cfe-commits
https://github.com/aytey updated https://github.com/llvm/llvm-project/pull/86727 >From 784dd45324566775439b3c06674ab7d70b292d0b Mon Sep 17 00:00:00 2001 From: "Andrew V. Teylu" Date: Tue, 26 Mar 2024 20:10:24 + Subject: [PATCH 1/2] [clang-repl] Add call to 'InitializeAllAsmParsers' Signed-o

[clang] [clang-repl] Add call to 'InitializeAllAsmParsers' (PR #86727)

2024-03-26 Thread Andrew V. Teylu via cfe-commits
aytey wrote: > This my first PR against LLVM; does something like this need tests? I'm 100% > happy to add tests for this, but are there some examples of "good" > `clang-repl` tests I can learn from/extend from? Maybe this is reasonable: ```cpp // REQUIRES: host-supports-jit, x86_64-linux //

[clang] [clang-repl] Add call to 'InitializeAllAsmParsers' (PR #86727)

2024-03-26 Thread Andrew V. Teylu via cfe-commits
aytey wrote: This my first PR against LLVM; does something like this need tests? I'm 100% happy to add tests for this, but are there some examples of "good" `clang-repl` tests I can learn from/extend from? https://github.com/llvm/llvm-project/pull/86727

[clang] [clang-repl] Add call to 'InitializeAllAsmParsers' (PR #86727)

2024-03-26 Thread Andrew V. Teylu via cfe-commits
https://github.com/aytey created https://github.com/llvm/llvm-project/pull/86727 This PR fixes the following issue when working with `clang-repl`: ``` fatal error: error in backend: Inline asm not supported by this streamer because we don't have an asm parser for this target ``` When working w