1extern thread_local int x;
2extern thread_local int y;
3extern thread_local int z;
4
5int __attribute__((target("arch=pwr10"))) TestPOWER10() { return x + y + z; }
6

source code of compiler-rt/test/orc/TestCases/Linux/ppc64/Inputs/trivial-tls-pwr10.cpp