[ThinLTO] Make distributed indexes test more robust

Modify test so that it passes in the reverse-iteration bot.
We use DenseMap instead of std::map for the summaries to emit into
distributed index files. The iteration order is not defined, but
it is deterministic, which is good enough.

llvm-svn: 321000
This commit is contained in:
Teresa Johnson 2017-12-18 18:00:32 +00:00
parent 9d301b3750
commit 9ecaaff251
1 changed files with 7 additions and 7 deletions

View File

@ -16,10 +16,10 @@
; BACKEND1-NEXT: </MODULE_STRTAB_BLOCK
; BACKEND1-NEXT: <GLOBALVAL_SUMMARY_BLOCK
; BACKEND1-NEXT: <VERSION
; BACKEND1-DAG: <VALUE_GUID op0=2 op1=-5751648690987223394
; BACKEND1-DAG: <VALUE_GUID op0=4 op1=-5300342847281564238
; BACKEND1-DAG: <VALUE_GUID op0=1 op1=-3706093650706652785
; BACKEND1-DAG: <VALUE_GUID op0=3 op1=-1039159065113703048
; BACKEND1-DAG: <VALUE_GUID op0={{.*}} op1=-5751648690987223394
; BACKEND1-DAG: <VALUE_GUID op0={{.*}} op1=-5300342847281564238
; BACKEND1-DAG: <VALUE_GUID op0={{.*}} op1=-3706093650706652785
; BACKEND1-DAG: <VALUE_GUID op0={{.*}} op1=-1039159065113703048
; BACKEND1-DAG: <COMBINED {{.*}} op1=0
; BACKEND1-DAG: <COMBINED {{.*}} op1=1
; BACKEND1-DAG: <COMBINED_ALIAS {{.*}} op1=1
@ -32,9 +32,9 @@
; BACKEND2-NEXT: </MODULE_STRTAB_BLOCK
; BACKEND2-NEXT: <GLOBALVAL_SUMMARY_BLOCK
; BACKEND2-NEXT: <VERSION
; BACKEND2-DAG: <VALUE_GUID op0=1 op1=-5751648690987223394/>
; BACKEND2-DAG: <VALUE_GUID op0=4 op1=-5300342847281564238/>
; BACKEND2-DAG: <VALUE_GUID op0=3 op1=-1039159065113703048/>
; BACKEND2-DAG: <VALUE_GUID op0={{.*}} op1=-5751648690987223394/>
; BACKEND2-DAG: <VALUE_GUID op0={{.*}} op1=-5300342847281564238/>
; BACKEND2-DAG: <VALUE_GUID op0={{.*}} op1=-1039159065113703048/>
; BACKEND2-NEXT: <COMBINED
; BACKEND2-NEXT: <COMBINED
; BACKEND2-NEXT: <COMBINED_ALIAS