Fangrui Song

Results 36 issues of Fangrui Song

For an untraced object containing traced reference, `of` operation may lead to segfault in `--gc:arc` `--gc:orc` mode, but not in `--gc:refc` mode. I am not clear what the semantics are,...

Showstopper
ARC/ORC Memory Management

README.md says > make is the officially maintained build system of this project. When using Makefile, CMake config files like `zstdConfig.cmake` is not installed. This makes projects using CMake awkward...

https://www.co-op.space/systemd-guan-ji-chao-shi-wen-ti-ding-wei-fang-fa/

```c % cat a.c int main() {} % clang --ld-path=path/to/mold a.c -o a ``` `main` in `.symtab` is `STB_LOCAL`. `main` has default visibility and is not affected by features like...

The `sysvabi64/sysvabi64.rst` document contains sample PLT sequences where x16 holds the address of the `.got.plt` entry. Some rtld implementations, such as glibc and FreeBSD rtld, with lazy PLT resolver support...

Related to #5 In LLVM, "Using the legacy pass manager for the optimization pipeline is deprecated" since 13.0.0 ( https://releases.llvm.org/13.0.0/docs/ReleaseNotes.html#changes-to-the-llvm-ir). Many passes have been removed or are being removed for...

Task

My typical workflow: compose a patch, run `spr diff` to create a PT, add reviewers on GitHub, get approved. When I run `spr land`, the landed commit will include both...

From https://discourse.llvm.org/t/using-getcord-spr/76097 : `spr diff` updating an existing pull request may give this error. ``` % spr diff # a PR is created in llvm/llvm-project and the commit message contains...

tl;dr Using a sequence alignment algorithm can improve the fuzzy matching quality, as what fzf does. But this approach is much simpler without sacrifice of quality. See the following example:...

Without the patch the file fails to compile with latest libc++ (https://reviews.llvm.org/D146097).

CLA Signed