[PATCH] D76878: Implement DW_{OP,AT}_LLVM_* for Heterogeneous Debugging

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 11:48:48 PDT 2021


clayborg added inline comments.


================
Comment at: llvm/lib/MC/MCDwarf.cpp:1662
+  if (MAI->supportsHeterogeneousDebuggingExtensions())
+    Augmentation += "[llvm:v0.0]";
+  Streamer.emitBytes(Augmentation);
----------------
Should we use a single character here? If we don't, unwinders might end up parsing each character individually and that might make unwinders fail as they parse each character. Or does the unwind spec state that everything between square brackets is a single entry? This seems dangerous unless the spec has some rule like this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76878



More information about the llvm-commits mailing list