Adds build support for LoongArch64 linux to cfi.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
LGTM if ninja check-cfi passes on LoongArch.
Add LoongArch64 support to CFI
Perhaps [cfi][CMake] Allow LoongArch. Add .. support gives me a feeling of adding some code to make this happen. If this is trivially working, allow seems more appropriate.
The result of ninja check-cfi is all Unsupported, which is the same as X86's.
Ok, I have updated the title.
Thanks a lot.
This is not fine. You need to make ninja cfi work and make check-cfi run tests, not just blindly assuming it working.
I think some code in llvm/lib/Transforms/IPO/LowerTypeTests.cpp is needed.
Yes, the result of check-cfi is also not fine for me now.
Unsupported is one of the test results as other arch(e.g. x86), while the other test works has some failures caused by lld, which wil be fixed by others.
But it's the build support as described in the summary that count. This action referred to c172726f6f1476ead975e6e731fb95c4d1393e42.
Of course, if this action is not accepted now, i can abandon it first.