This is an archive of the discontinued LLVM Phabricator instance.

[flang] Make -fget-symbols-sources output deterministic
ClosedPublic

Authored by klausler on Sep 2 2020, 8:43 AM.

Details

Summary

The DumpSymbolsSources() routine ordered its output by the addresses
of the names of the symbols, and was susceptible to variation across
environments. Fixed by using a multimap using the values of the names.

Diff Detail

Event Timeline

klausler created this revision.Sep 2 2020, 8:43 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Sep 2 2020, 8:43 AM
PeteSteinfeld accepted this revision.Sep 2 2020, 9:22 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Sep 2 2020, 9:22 AM
This revision was automatically updated to reflect the committed changes.