[all-commits] [llvm/llvm-project] eb61ab: Fix a copy and paste error that would cause a crash.

Greg Clayton via All-commits all-commits at lists.llvm.org
Fri Mar 6 18:07:42 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eb61ab1bd9af607fc7439edd3b92467b78772b92
      https://github.com/llvm/llvm-project/commit/eb61ab1bd9af607fc7439edd3b92467b78772b92
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2020-03-06 (Fri, 06 Mar 2020)

  Changed paths:
    M llvm/tools/dsymutil/MachODebugMapParser.cpp

  Log Message:
  -----------
  Fix a copy and paste error that would cause a crash.

Summary: The wrong variable was being checked for an error, which mean a llvm::Error went unchecked and crashes dsymutil. Discovered this when trying to feed an ELF file to "dsymutil --update" and running into the crash.

Reviewers: aprantl, JDevlieghere

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75777




More information about the All-commits mailing list