[all-commits] [llvm/llvm-project] a0ac75: [scudo] Create a non-static getErrorInfo function....

Christopher Ferris via All-commits all-commits at lists.llvm.org
Thu May 28 11:44:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0ac7521342567573da5b1e47c94f6199faada39
      https://github.com/llvm/llvm-project/commit/a0ac7521342567573da5b1e47c94f6199faada39
  Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/include/scudo/interface.h
    M compiler-rt/lib/scudo/standalone/memtag.h
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/primary64.h
    M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
    A compiler-rt/lib/scudo/standalone/tests/error_info_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
    M compiler-rt/lib/scudo/standalone/wrappers_c.cpp

  Log Message:
  -----------
  [scudo] Create a non-static getErrorInfo function. (#199770)

Create a getErrorInfo function that operates on the Allocator and
doesn't require passing in all of the extra information.

Add interface function __scudo_get_fault_error_info that calls this new
function.

Add all needed functions to support the new getErrorInfo.

This is being added to replace the static version from Android that
required linking in a copy of libscudo to use. This new version will be
used directly from libc.



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