This is an archive of the discontinued LLVM Phabricator instance.

Add demangling support for C++11 thread_local variables
ClosedPublic

Authored by davidb on Dec 20 2016, 5:37 AM.

Details

Summary

Add support for demangling C++11 thread_local variables. In clang, the grammar for mangling for these names are "<special-name> ::= TW <object name>" for wrapper variables or "<special-name> ::= TH <object name>" for initialization variables.

Diff Detail

Repository
rL LLVM

Event Timeline

davidb updated this revision to Diff 82100.Dec 20 2016, 5:37 AM
davidb retitled this revision from to Add demangling support for C++11 thread_local variables.
davidb updated this object.
davidb added reviewers: howard.hinnant, mclow.lists.
davidb set the repository for this revision to rL LLVM.
davidb added a subscriber: cfe-commits.
fhahn added a subscriber: fhahn.Dec 27 2016, 11:53 AM
mehdi_amini accepted this revision.Jan 29 2017, 3:25 PM
mehdi_amini added a subscriber: mehdi_amini.

LGTM.

Can you apply the patch in LLVM (libDemangle) as well please?

This revision is now accepted and ready to land.Jan 29 2017, 3:25 PM

LGTM.

Can you apply the patch in LLVM (libDemangle) as well please?

Thank you Mehdi. I have an LLVM (libDemangle) with an identical change (minus the tests) waiting. Would you like my to submit it as a separate patch?

I've just requested commit access so fingers crossed I can apply them both soon.

LGTM.

Can you apply the patch in LLVM (libDemangle) as well please?

Thank you Mehdi. I have an LLVM (libDemangle) with an identical change (minus the tests) waiting. Would you like my to submit it as a separate patch?

No, just commit it.

davidb closed this revision.Jan 31 2017, 9:56 AM

Closed by revision r293638.