llvm.org GIT mirror llvm / 61aeed1
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 Anton Korobeynikov 10 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
10371037 Out << ");";
10381038 nl(Out);
10391039 }
1040 if (GV->isThreadLocal()) {
1041 printCppName(GV);
1042 Out << "->setThreadLocal(true);";
1043 nl(Out);
1044 }
10401045 if (is_inline) {
10411046 out(); Out << "}"; nl(Out);
10421047 }