[all-commits] [llvm/llvm-project] de1e91: [llvm-debuginfo-analyzer] (05/09) - Select elements

Carlos Alberto Enciso via All-commits all-commits at lists.llvm.org
Fri Oct 21 11:18:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de1e911f02a0b4369287c7d056efc94c3f5dc0cd
      https://github.com/llvm/llvm-project/commit/de1e911f02a0b4369287c7d056efc94c3f5dc0cd
  Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVOptions.h
    M llvm/lib/DebugInfo/LogicalView/Core/LVOptions.cpp

  Log Message:
  -----------
  [llvm-debuginfo-analyzer] (05/09) - Select elements

The test case 'checkFlexiblePatterns' caused a failure in:

  https://lab.llvm.org/buildbot/#/builders/85/builds/11590
  SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
    runtime error: applying zero offset to null pointer
    llvm/lib/Support/regengine.inc:151:18

The logical view is traversed and for each logical element a
series of match criterias are applied. One of those criterias
is to match its name or type name to a given pattern.

If the logical element does not have a type (for instance a
'namespace') do not try to use its type name, which is a
empty string as the 'matcher' function receives a null pointer.

Reviewed By: probinson

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




More information about the All-commits mailing list