[all-commits] [llvm/llvm-project] b69e16: X86MachObjectWriter.cpp - silence null deference w...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jun 6 07:45:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b69e16b5cce6987dd9da3570c1b97e4b7e437d85
      https://github.com/llvm/llvm-project/commit/b69e16b5cce6987dd9da3570c1b97e4b7e437d85
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-06-06 (Sun, 06 Jun 2021)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp

  Log Message:
  -----------
  X86MachObjectWriter.cpp - silence null deference warnings. NFCI.

The MCSymbol data should always be present for non-absolute sections so assert that it is to silence static analysis warnings.




More information about the All-commits mailing list