[XRay][compiler-rt] Fixup: Use proper string comparison for DCHECK

Fixes the sanitizer build.

Follow-up to D46574.

llvm-svn: 332211
This commit is contained in:
Dean Michael Berris 2018-05-14 04:14:39 +00:00
parent daaf105f86
commit 034b6c1a66
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ XRayFileHeader &fdrCommonHeaderInfo() {
// implementations of __xray_set_buffer_iterator(...) and
// __xray_log_process_buffers(...).
XRayBuffer fdrIterator(const XRayBuffer B) {
DCHECK_EQ(__xray_current_mode(), "xray-fdr");
DCHECK(internal_strcmp(__xray_log_get_current_mode(), "xray-fdr") == 0);
DCHECK(BQ->finalizing());
if (BQ == nullptr || !BQ->finalizing()) {