mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Properly set thread-local flag on globals during cpp emission
llvm-svn: 103702
This commit is contained in:
parent
e343761a2a
commit
fa0c92ab6c
@ -1038,6 +1038,11 @@ namespace {
|
||||
Out << ");";
|
||||
nl(Out);
|
||||
}
|
||||
if (GV->isThreadLocal()) {
|
||||
printCppName(GV);
|
||||
Out << "->setThreadLocal(true);";
|
||||
nl(Out);
|
||||
}
|
||||
if (is_inline) {
|
||||
out(); Out << "}"; nl(Out);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user