aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-04-28 11:44:45 -0700
committerKazu Hirata <kazu@google.com>2024-04-28 11:44:45 -0700
commit352602010fac5c7e07bc6b992848ab746d0c2857 (patch)
tree7cdde460193f45a99a9e4202ad2738756be6d5f4 /clang/lib/CodeGen/CodeGenFunction.cpp
parent6dd90616c477d83c156eed62c880e951bb508cfd (diff)
downloadllvm-352602010fac5c7e07bc6b992848ab746d0c2857.zip
llvm-352602010fac5c7e07bc6b992848ab746d0c2857.tar.gz
llvm-352602010fac5c7e07bc6b992848ab746d0c2857.tar.bz2
Repply [memprof] Introduce FrameIdConverter and CallStackIdConverter (#90307)
Currently, we convert FrameId to Frame and CallStackId to a call stack at several places. This patch unifies those into function objects -- FrameIdConverter and CallStackIdConverter. The existing implementation of CallStackIdConverter, being removed in this patch, handles both FrameId and CallStackId conversions. This patch splits it into two phases for flexibility (but make them composable) because some places only require the FrameId conversion. This iteration fixes a problem uncovered with ubsan, where we were dereferencing an uninitialized std::unique_ptr.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions