[all-commits] [llvm/llvm-project] 20941c: [NFC][sanitizer] Return nullptr instead of 0

Vitaly Buka via All-commits all-commits at lists.llvm.org
Sat Sep 9 13:59:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20941cdcd19766edc7676771bb5efc9191aa2532
      https://github.com/llvm/llvm-project/commit/20941cdcd19766edc7676771bb5efc9191aa2532
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-09-09 (Sat, 09 Sep 2023)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp

  Log Message:
  -----------
  [NFC][sanitizer] Return nullptr instead of 0


  Commit: 9f73a9ef6e4da73f22e1ca81b22ef53851d4d19a
      https://github.com/llvm/llvm-project/commit/9f73a9ef6e4da73f22e1ca81b22ef53851d4d19a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-09-09 (Sat, 09 Sep 2023)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp

  Log Message:
  -----------
  [NFC][sanitizer] Clarify nullability of Symbolizer::Demangle result


  Commit: 676629598595605dd673eeca9036609d13b6e193
      https://github.com/llvm/llvm-project/commit/676629598595605dd673eeca9036609d13b6e193
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-09-09 (Sat, 09 Sep 2023)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cpp

  Log Message:
  -----------
  [NFC][sanitizer] Return nullptr from PlatformDemangle

Use fallback name only on the top level, in Symbolizer::Demangle or
DlAddrSymbolizer. This makes PlatformDemangle to be more consistent with
SymbolizerTool and the loop in Symbolizer::Demangle which iterates over
all availible options.


Compare: https://github.com/llvm/llvm-project/compare/a9f30097586e...676629598595


More information about the All-commits mailing list