[all-commits] [llvm/llvm-project] 21ab32: [lldb][LibCxx] Move incorrect nullptr check (#96635)

Michael Buch via All-commits all-commits at lists.llvm.org
Tue Jun 25 11:05:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21ab32e1c144b42458b7b3181e84bfb45aadcc54
      https://github.com/llvm/llvm-project/commit/21ab32e1c144b42458b7b3181e84bfb45aadcc54
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp

  Log Message:
  -----------
  [lldb][LibCxx] Move incorrect nullptr check (#96635)

Found while skimming this code. Don't have a reproducible test case for
this but the nullptr check should clearly occur before we try to
dereference `location_sp`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list