[all-commits] [llvm/llvm-project] f80866: [flang] Make -fget-symbols-sources output determin...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Sep 2 09:33:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f80866bd4a2a4e8b650aef1f9a88870dd336e20f
      https://github.com/llvm/llvm-project/commit/f80866bd4a2a4e8b650aef1f9a88870dd336e20f
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M flang/lib/Semantics/semantics.cpp
    M flang/test/Semantics/getsymbols01.f90
    M flang/test/Semantics/getsymbols02.f90
    M flang/test/Semantics/getsymbols03-a.f90
    M flang/test/Semantics/getsymbols04.f90
    M flang/test/Semantics/getsymbols05.f90

  Log Message:
  -----------
  [flang] Make -fget-symbols-sources output deterministic

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.

Differential Revision: https://reviews.llvm.org/D87035




More information about the All-commits mailing list