[compiler-rt] Fix broken SymInitialize unittest
authorEtienne Bergeron <etienneb@google.com>
Thu, 21 Jul 2016 02:32:37 +0000 (02:32 +0000)
committerEtienne Bergeron <etienneb@google.com>
Thu, 21 Jul 2016 02:32:37 +0000 (02:32 +0000)
commitd4528b2ea15aa87d156277518c33ae73783ded51
tree7754cae95f7951027a3fcfa18c58467475a9b144
parent8430489847372c8bcfa8a676e7c458020c61d6de
[compiler-rt] Fix broken SymInitialize unittest

Summary:
By adding the initialisation of the symbolisation library (DbgHelp)
we are swapping the order in which both warnings are produced.

We can't use CHECK-NEXT as the dbghelp warning is multiline.

Reviewers: rnk

Subscribers: kubabrecka, llvm-commits, wang0109, chrisha

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

llvm-svn: 276228
compiler-rt/lib/sanitizer_common/sanitizer_win.cc
compiler-rt/test/asan/TestCases/Windows/report_after_syminitialize.cc