forked from OSchip/llvm-project
[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:
parent
daaf105f86
commit
034b6c1a66
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue