This is an archive of the discontinued LLVM Phabricator instance.

Fix PR21189 -- Emit symbol subsection required to debug LLVM-built binaries with VS2012+
ClosedPublic

Authored by timurrrr on Oct 14 2014, 5:03 AM.

Details

Reviewers
majnemer
echristo
Summary

David, Eric,

This is a preliminary version.
I haven't updated some of the test/DebugInfo/COFF lit tests since changing the code just a little [which might happend during the review] requires significant amount of work to update the tests.
Please comment on the code and an example test modification and I'll update the rest of the tests if everything's OK with you.

––
Tim

Diff Detail

Event Timeline

timurrrr updated this revision to Diff 14858.Oct 14 2014, 5:03 AM
timurrrr retitled this revision from to Fix PR21189 -- Emit symbol subsection required to debug LLVM-built binaries with VS2012+.
timurrrr updated this object.
timurrrr edited the test plan for this revision. (Show Details)
timurrrr added reviewers: majnemer, echristo.
timurrrr added subscribers: Unknown Object (MLST), rnk.
timurrrr updated this revision to Diff 15355.Oct 23 2014, 3:42 PM
timurrrr updated this object.

Rebase now that r220526 has landed.

timurrrr updated this revision to Diff 15367.Oct 23 2014, 5:06 PM

Using getDISubprogram(F).getDisplayName() to get demangled function name now

timurrrr planned changes to this revision.Oct 23 2014, 5:08 PM

Oops, I've uploaded a few wrong hunks. Lemme fix that in a minute!

timurrrr updated this revision to Diff 15369.Oct 23 2014, 5:12 PM

Fixed issues with the previous patch

majnemer accepted this revision.Oct 23 2014, 5:42 PM
majnemer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 23 2014, 5:42 PM
timurrrr updated this revision to Diff 15371.Oct 23 2014, 6:24 PM
timurrrr edited edge metadata.

Updated the rest of the tests.
I'm going to try a few more things locally and commit if everything's OK.

timurrrr closed this revision.Oct 23 2014, 6:38 PM

r220544!