[llvm] [PseudoProbe] Add PseudoProbeDescUpdatePass (PR #99839)

Lei Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 21 23:38:16 PDT 2024


wlei-llvm wrote:

> Compiler generated functions are not unique to partial inline. Coroutine split is another example. How is that handled and how is partial inline different? cc @wlei-llvm

We use debug info symbol so that the different suffix function can be mapped to the original function, it seems also applicable to partial inlining. but maybe the debug info is only missing for that function:

```
  if (auto *SP = F.getSubprogram()) {
    FName = SP->getLinkageName();
    if (FName.empty())
      FName = SP->getName();
  }
```

https://github.com/llvm/llvm-project/pull/99839


More information about the llvm-commits mailing list