[PATCH] D73283: Handle complex DWARF expressions in combination with "complex" registers

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 13:29:41 PST 2020


aemerson added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp:224
+struct Defer {
+  std::function<void()> Closure;
+  Defer(std::function<void()> Closure) : Closure(Closure) {}
----------------
I think you can use llvm::scope_exit for this kind of thing?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73283/new/

https://reviews.llvm.org/D73283





More information about the llvm-commits mailing list