[all-commits] [llvm/llvm-project] 9627b7: [Instrumentor] Add Alloca and Function support; st...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri May 1 16:09:28 PDT 2026


  Branch: refs/heads/users/jdoerfert/instrumentor_alloca_and_function
  Home:   https://github.com/llvm/llvm-project
  Commit: 9627b7b4adb35bfe829849b31682562204ea4ac7
      https://github.com/llvm/llvm-project/commit/9627b7b4adb35bfe829849b31682562204ea4ac7
  Author: Johannes Doerfert <jdoerfert.llvm at gmail.com>
  Date:   2026-05-01 (Fri, 01 May 2026)

  Changed paths:
    A clang/test/Instrumentor/InstrumentorStackUsage.cpp
    A clang/test/Instrumentor/StackUsageRT.cpp
    A clang/test/Instrumentor/StackUsageRT.json
    A clang/test/Instrumentor/lit.local.cfg
    M llvm/include/llvm/Transforms/IPO/Instrumentor.h
    M llvm/lib/Transforms/IPO/Instrumentor.cpp
    A llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll

  Log Message:
  -----------
  [Instrumentor] Add Alloca and Function support; stack usage example

This adds support for alloca instrumentation and function pre/post
instrumentation. Alloca support follows load/store support directly.
Functions require special care to determine the insertion points.

Together, we can showcase how the stack high watermark can be profiled,
see InstrumentorStackUsage.cpp.



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