Open
Description
Using clang version 20.1.2
llc -mtriple=mipsel-w64-windows-gnu test.ll --filetype=obj
@foo = thread_local global i32 0
define ptr @bar() {
%1 = call ptr @llvm.threadlocal.address.p0(ptr @foo)
ret ptr %1
}
gives
<unknown>:0: error: unsupported relocation type
<unknown>:0: error: unsupported relocation type