llvm.org GIT mirror llvm / 4139070
Name string length is end position marker - begin position marker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53697 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 11 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
328328 if (pend == std::string::npos)
329329 break;
330330
331 asmSymbolName.assign(inlineAsm, pbegin, pbegin-pend);
331 asmSymbolName.assign(inlineAsm, pbegin, pend - pbegin);
332332 addAsmGlobalSymbol(asmSymbolName.c_str());
333333
334334 // search next .globl