forked from OSchip/llvm-project
Reverts r187449 (report_fatal_error) in favor of a log message since
the extra check introduces 22 new test failures with the LLDB clang buildbot. Note that the unhandled DWARF_OP codes in DWARFExpression::Evaluate don't cause test failures if the check is ignored. llvm-svn: 187480
This commit is contained in:
parent
9447cce0ed
commit
3e0afb87b2
|
@ -11,8 +11,6 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
#include "lldb/Core/DataEncoder.h"
|
||||
#include "lldb/Core/dwarf.h"
|
||||
#include "lldb/Core/Log.h"
|
||||
|
@ -2662,7 +2660,9 @@ DWARFExpression::Evaluate
|
|||
}
|
||||
break;
|
||||
default:
|
||||
llvm::report_fatal_error("Unhandled DWARF expression opcode! Please file a bug at llvm.org/bugs and attach the binary you were debugging.");
|
||||
if (log)
|
||||
log->Printf("Unhandled opcode %s in DWARFExpression.", DW_OP_value_to_name(op));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue