diff options
author | Ashok Thirumurthi <ashok.thirumurthi@intel.com> | 2013-07-31 03:56:45 +0000 |
---|---|---|
committer | Ashok Thirumurthi <ashok.thirumurthi@intel.com> | 2013-07-31 03:56:45 +0000 |
commit | 384ba771966b2b1f6682158d926f4186441e9696 (patch) | |
tree | 502d08748b6c30c4db49f9da7bdef78a6fdf726a | |
parent | bc16b9273326b81dc4aae022389a9f8c3bdca66d (diff) | |
download | lldb-384ba771966b2b1f6682158d926f4186441e9696.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187480 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | source/Expression/DWARFExpression.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Expression/DWARFExpression.cpp b/source/Expression/DWARFExpression.cpp index 7f2f2e1a8..e2ae19e5a 100644 --- a/source/Expression/DWARFExpression.cpp +++ b/source/Expression/DWARFExpression.cpp @@ -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; } } |