Building the kernel with clang
Building the kernel with clang
Posted Sep 20, 2017 18:01 UTC (Wed) by valarauca (guest, #109490)In reply to: Building the kernel with clang by WolfWings
Parent article: Building the kernel with Clang
I believe you are correct.
By default Clang/LLVM tracks _closely_ to GAS, but with less magic https://llvm.org/docs/LangRef.html#inline-assembler-expre...
Small things like `add` on x64 requires a suffix to state if its an `addw`, `addq`, etc. for example https://clang.llvm.org/compatibility.html#inline-asm