[lldb-dev] [Bug 47083] New: then-branch and else-branch of the same if-statement should not be the same.(llvm-project/lldb/source/Symbol/ArmUnwindInfo.cpp:line 316 )

via lldb-dev lldb-dev at lists.llvm.org
Mon Aug 10 00:25:47 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47083

            Bug ID: 47083
           Summary: then-branch and else-branch of the same if-statement
                    should not be the
                    same.(llvm-project/lldb/source/Symbol/ArmUnwindInfo.cp
                    p:line 316 )
           Product: lldb
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: info at ustchcs.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

then-branch and else-branch of the same if-statement should not be the same.

commit e3546c78cabfbf670391a57766872f0a8e28a423 

llvm-project/lldb/source/Symbol/ArmUnwindInfo.cpp:line 316 

   316      } else if ((byte1 & 0xc0) == 0xc0) {
   317        // 11xxxyyy Spare (xxx != 000, 001, 010)
   318        return false;
   319      } else {
   320        return false;
   321      }
   322    }

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-2.1: then-branch and else-branch of the same if-statement should not
be the same.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200810/08ddff79/attachment.html>


More information about the lldb-dev mailing list