[llvm] Minimal unwinding information (DWARF CFI) checker (PR #145633)
Simon Tatham via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 26 05:04:43 PDT 2025
================
@@ -519,8 +526,16 @@ int main(int argc, char **argv) {
std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo());
assert(MCII && "Unable to create instruction info!");
+ std::unique_ptr<FunctionUnitUnwindInfoAnalyzer> FUUIA(
----------------
statham-arm wrote:
What's a `FunctionUnitUnwindInfoAnalyzer`? The class defined in `FunctionUnitUnwindInfoAnalyzer.h` is called something else. Surely this code won't even compile in its current state?
Separately from that, you can make this `unique_ptr` without having to repeat the enormously long class name twice by writing
```c++
auto FUUIA = std::make_unique<ClassName>(parameters);
```
https://github.com/llvm/llvm-project/pull/145633
More information about the llvm-commits
mailing list