Skip to content

Commit

Permalink
Always enable hashed program output when using reference outputs
Browse files Browse the repository at this point in the history
Because several of the reference outputs require hashed output, running
with reference outputs but without hashed program output yields anomalous
failures.

llvm-svn: 181260
  • Loading branch information
Hal Finkel committed May 6, 2013
1 parent 9dc9a67 commit 9ff7bf6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.programs
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,12 @@ ifdef REQUIRES_EH_SUPPORT
JIT_OPTS += -enable-correct-eh-support
endif

# Some of the reference outputs assume that ENABLE_HASHED_PROGRAM_OUTPUT
# is defined. Make sure it is defined if USE_REFERENCE_OUTPUT is defined.
ifdef USE_REFERENCE_OUTPUT
ENABLE_HASHED_PROGRAM_OUTPUT := 1
endif

# If the program wants its output hashed, add an output filter.
ifdef ENABLE_HASHED_PROGRAM_OUTPUT
ifdef HASH_PROGRAM_OUTPUT
Expand Down

0 comments on commit 9ff7bf6

Please sign in to comment.