mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Properly set thread-local flag on globals during cpp emission
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
911ae391e8
commit
61aeed11cd
@ -1038,6 +1038,11 @@ namespace {
|
|||||||
Out << ");";
|
Out << ");";
|
||||||
nl(Out);
|
nl(Out);
|
||||||
}
|
}
|
||||||
|
if (GV->isThreadLocal()) {
|
||||||
|
printCppName(GV);
|
||||||
|
Out << "->setThreadLocal(true);";
|
||||||
|
nl(Out);
|
||||||
|
}
|
||||||
if (is_inline) {
|
if (is_inline) {
|
||||||
out(); Out << "}"; nl(Out);
|
out(); Out << "}"; nl(Out);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user