brintos

brintos / llvm-project-archived public Read only

0
0
Text · 558 B · a393a00 Raw
10 lines · plain
1// RUN: rm -rf %t && mkdir -p %t2// RUN: %clangxx -fPIC -c -o %t/main.o %S/Inputs/trivial-tls-main.cpp3// RUN: %clangxx -fPIC -c -o %t/pwr10.o %S/Inputs/trivial-tls-pwr10.cpp4// RUN: %llvm_jitlink %t/main.o %t/pwr10.o5// FIXME: We separate pwr10 code from main object file due to currrent6// implementation only supports one PLT stub for the same symbol.7// For example, `bl __tls_get_addr` in one object file has only one PLT stub,8// however we need another different PLT stub for `bl __tls_get_addr@notoc`9// whose target symbol is also `__tls_get_addr`.10