The lse.S file uses syntax that only works on ELF targets (e.g. :lo12), so it prevents building compiler-rt for iOS and ARM-based macOS.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The lse.S file uses syntax that only works on ELF targets (e.g. :lo12:)
That syntax actually is supported by the llvm assembler for windows targets, and these out of line functions at least build successfully for that target (haven't tested actually running them though), so I think only darwin targets are the one that need to be excluded here right now.
Comment Actions
lse.S syntax could be fixed: https://reviews.llvm.org/D92530
The question is, should outline atomics be in compiler-rt for iOS and ARM-based macOS?
Comment Actions
lse.S syntax fixed, compiler-rt with outline atomics should be built fine. If there are no any other issues can we abandon this patch?