Zhenhang1213

Results issues of Zhenhang1213

```c struct S { S (); S &operator

clang:frontend
confirmed
crash

```c void foo(int *x) { *x = 0; } int main() { int x; foo(&x); return x; } ``` https://godbolt.org/z/Yof6d6EYb

question
clang:codegen

``` #include #include #include int func() { char c = 'b'; char str1[8]; memset(str1, c, 8); return 0; } int main() { func(); return 0; } ``` On a 32-bit...

tools:llvm-objdump

Using lld, the names of functions in plt are replaced by $* in arm32, code: ``` #include #include #include int func() { char c = 'b'; char str1[8]; memset(str1, c,...

question
lld

Why doesn't objdump generate plt symbos for arm, however objdump generates those symbols for aarch64 and X86. code ``` #include #include #include int func() { char c = 'b'; char...

question
tools:llvm-objdump

When I compile .o with two c files -fvisibility=hidden,and a.c depends on a function of b.c. then generates bit dynamic libraries of a.c, Finally define a main function in the...

question
lld

When I compile .o with two c files -fvisibility=hidden,and a.c depends on a function of b.c. then generates bit dynamic libraries of a.c, Finally define a main function in the...

test-suite
lld:ELF

Error occurred during execution of ftpd, there is no 'timeout' member in struct globals, can see this link: https://github.com/mirror/busybox/issues/87

invalid
clang

using lto and ld in arm, crash finally dynamic compile executable. now I find in arm, ld and lto are incompatible。 just like it: `int main () { return 0;...

invalid

When I declare two variables, there is no warning. When I extern, there is a warning. This is different from gcc. Is this some kind of special consideration? https://godbolt.org/z/9rePocxo3

clang-tidy