-
Scenario:
```
$ cat t1.c
int main(void){}
$ ~/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/clang t1.c -c
$ ~/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/clang t1.c -c -frecord-command-…
-
### VAST version
Ubuntu clang version 18.1.8 (++20240615103753+3b5b5c1ec4a3-1~exp1~20240615223858.136) Target: x86_64-pc-linux-gnu Thread model: posix
### LLVM version
18.1.8
### Operating…
-
Clang-19 with the attribute `opencl_global_device` enabled.
Compiler explorer(assertion trunck): https://godbolt.org/z/WKGesoejq
```
$cat mutant.c
a(;
__attribute__((opencl_global_device )) * b…
-
I want to replace this code:
```python
import subprocess as sp
def run_cmd(cmd, cwd=None):
print(f"+ {cmd}")
process = sp.run(cmd, shell=True, cwd=cwd)
if process.returncode != 0:
…
-
after add follow bpf ringbuff to xdp_sni.bpf.c, it compiles ok with `clang 18.0.0` on ubuntu 22.04 , but failed to load
```
diff --git a/xdp-sni/xdp_sni.bpf.c b/xdp-sni/xdp_sni.bpf.c
index 51f74…
-
This is based on the discussion [here](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/-C.20flags.20that.20change.20ABI/near/474829680); I don't understand much of the underlyin…
-
The README mentions a `make` command line to build the code, but I do not see a Makefile anywhere in this repository, so hard to understand how that command could work.
-
Hi, I am trying to use ClangIR to emit MLIR code from a C file. This is simple test that already fails (called `test.c`):
```C
void foo(int i) {}
int main(void) {
foo(2);
return 0;
}
…
-
Hi stripe2933,
I tried the step "Build Standard Library Module from LLVM repository." but I get the following error:
"llvm-project/build/include/c++/v1/cstdlib:149:9: error: 'aligned_alloc' has not …
-
Building for windows 32, 64 bit and aarch64 darwin by cross compiling and building the shared libraries I get the error sporadically (log at https://github.com/Zentrik/llvm_windows_tester/actions/run…