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:
Ashok Thirumurthi 2013-07-31 03:56:45 +00:00
parent 9447cce0ed
commit 3e0afb87b2
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}