[all-commits] [llvm/llvm-project] 731fee: [lldb] Fail evaluation of DWARF expressions with u...

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Jun 8 06:52:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 731fee8b420c3877e3574dfd50dc29531f7153af
      https://github.com/llvm/llvm-project/commit/731fee8b420c3877e3574dfd50dc29531f7153af
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M lldb/source/Expression/DWARFExpression.cpp
    A lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-invalid_location.s
    M lldb/unittests/Expression/DWARFExpressionTest.cpp

  Log Message:
  -----------
  [lldb] Fail evaluation of DWARF expressions with unknown opcodes

Previously, we were simply ignoring them and continuing the evaluation.
This behavior does not seem useful, because the resulting value will
most likely be completely bogus.




More information about the All-commits mailing list