[clang] Fix lld link issue for OHOS (PR #118192)

Peng Huang via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 16 12:14:50 PST 2024


phuang wrote:

I found out how to run the test, but I cannot reproduce the problem with my change. I run the test with below steps:

1: `cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;lld"`
2: `ninja -C build`
3: `./build/bin/llvm-lit  ./clang/test/Driver/ohos.c -a -v
`

I checked the compile log at http://45.33.8.238/linux/155432/step_3.txt , it only compiles around 1000 files. But in my tree, it  compiles 5329 files. @nico do you know why? what's your build steps? 



https://github.com/llvm/llvm-project/pull/118192


More information about the cfe-commits mailing list