summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-24 00:03:57 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-24 00:03:57 +0000
commit363d83f8080f80b2af10dc8292c853beb782b273 (patch)
tree1af86fa8dea4c19a27dda625f64954a0e1f222c6 /llvm/test/Bitcode
parentae64eafd31781d6eee0b23a6d4d5f50d84d143ec (diff)
downloadbcm5719-llvm-363d83f8080f80b2af10dc8292c853beb782b273.tar.gz
bcm5719-llvm-363d83f8080f80b2af10dc8292c853beb782b273.zip
Fix test stability (was sensitive to the path)
This is a fixup for r267304. The test was sensitive to the path in a subtle way: the index in memory is sorted by GUID, which are hashes that include the source filename for local globals. Teresa recently added a directive at the IR level, so we can specify it here to make the test independent of the path. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 267305
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/thinlto-function-summary-originalnames.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary-originalnames.ll b/llvm/test/Bitcode/thinlto-function-summary-originalnames.ll
index 431ce367e9b..e13311616bc 100644
--- a/llvm/test/Bitcode/thinlto-function-summary-originalnames.ll
+++ b/llvm/test/Bitcode/thinlto-function-summary-originalnames.ll
@@ -11,6 +11,13 @@
; COMBINED-NEXT: <COMBINED_ALIAS
; COMBINED-NEXT: <COMBINED_ORIGINAL_NAME op0=-4170563161550796836/>
; COMBINED-NEXT: </GLOBALVAL_SUMMARY_BLOCK>
+; COMBINED-NEXT: <VALUE_SYMTAB
+; COMBINED-NEXT: <COMBINED_GVDEFENTRY {{.*}} op2=4947176790635855146/>
+; COMBINED-NEXT: <COMBINED_GVDEFENTRY {{.*}} op2=-6591587165810580810/>
+; COMBINED-NEXT: <COMBINED_GVDEFENTRY {{.*}} op2=-4377693495213223786/>
+; COMBINED-NEXT: </VALUE_SYMTAB>
+
+source_filename = "/path/to/source.c"
; ModuleID = 'thinlto-function-summary-callgraph.ll'
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
OpenPOWER on IntegriCloud