Anonymous

Results issues of Anonymous

# Code `$ cat small.rs` ```rust #![crate_type = "lib"] struct Assert; trait IsTrue {} impl IsTrue for Assert {} trait IsNotZst {} impl IsNotZst for T where Assert 0 }>:...

# Code `$ cat 2.rs` code: ```rust macro_rules! cbor_map { ($key:expr) => { $key.signum(); }; } fn main() { cbor_map! { #[cfg(test)] 8 }; } ``` It seems that the...

When attempting to compile the code with mrustc: # Code `$ cat 1.rs` ```rust #![crate_type = "lib"] pub fn get_u16_from_unaligned_manual(data: [u8; 1]) -> u8 { data[0]

### Description: The following code causes a crash in clang++. Also ICE on trunk, compiler explorer:https://godbolt.org/z/a1YeKdsEW ### OS and Platform: ``` # uname -a Linux ubuntu 4.15.0-213-generic #224-Ubuntu SMP Mon...

clang:frontend
crash
generated by fuzzer

lldb is already the newest version (1:15.0-55~20220216125911.2). ```console $ lldb --version Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'lldb.embedded_interpreter' lldb version 15.0.0 ```

lldb

```console $ lldb -v lldb-1316.0.9.46 Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) $ cat small.c int main() { int j = 0, d = 0; if (j>=0) for (; d; d++)...

lldb

$ cat small.c ``` int main() { int j = 0, d = 0; if (j>=0) for (; d; d++) return 0; return 0; } ``` $ clang --version ```...

duplicate
lldb

`$ clang --version` ```console Ubuntu clang version 15.0.0-++20220520091548+a61835b1e3f5-1~exp1~20220520091641.498 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin ``` `$ cat small.c` ```c int v; void foo (char *p, char *q) { v...

lldb

`$ cat small.c` ```c struct bm { unsigned a; }; int __attribute__ ((noinline)) foo (struct bm *p) { p->a = 1; return 1; } int main() { struct bm v...

lldb

`$ cat small.c` ```c #include #include int b = 9; int main(int argc, char **argv) { char *x = (char*)malloc(10); memset(x, 0, 10); int res = x[b]; free(x); return res;...

lldb
worksforme