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

            Bug ID: 47107
           Summary: LHS and RHS of a logical binary-operator (&&, ||),
                    relational/equality binary-operator expression should
                    not contain the same
                    sub-expression.(llvm-project/llvm/tools/llvm-objcopy/M
                    achO/MachOObjcopy.cpp:line 182 and184)
           Product: tools
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-objcopy/strip
          Assignee: unassignedb...@nondot.org
          Reporter: i...@ustchcs.com
                CC: alexander.v.shaposhni...@gmail.com,
                    jake.h.ehrl...@gmail.com,
                    jh7370.2...@my.bristol.ac.uk,
                    llvm-bugs@lists.llvm.org, ruppre...@google.com

LHS and RHS of a logical binary-operator (&&, ||), relational/equality
binary-operator expression should not contain the same sub-expression.

Config.StripSections appears twice on line 182 and 183. And
Config.StripNonAlloc appears twice on line 181 and 183.

commit e3546c78cabfbf670391a57766872f0a8e28a423

llvm-project/llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp:line 181<-->183

   181        Config.StripAllGNU || Config.StripDWO || Config.StripNonAlloc ||
   182        Config.StripSections || Config.Weaken ||
Config.DecompressDebugSections ||
   183        Config.StripNonAlloc || Config.StripSections ||
Config.StripUnneeded ||

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-2.3: LHS and RHS of a logical binary-operator (&&, ||),
relational/equality binary-operator expression should not contain the same
sub-expression.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to