[Mlir-commits] [mlir] [mlir] Translate nested debug information (PR #140915)

Jacques Pienaar llvmlistbot at llvm.org
Wed May 21 11:57:53 PDT 2025


================
@@ -31,6 +31,14 @@ static FileLineColLoc extractFileLoc(Location loc) {
     return extractFileLoc(nameLoc.getChildLoc());
   if (auto opaqueLoc = dyn_cast<OpaqueLoc>(loc))
     return extractFileLoc(opaqueLoc.getFallbackLocation());
+  if (auto fusedLoc = dyn_cast<FusedLoc>(loc)) {
+    for (auto loc : fusedLoc.getLocations()) {
----------------
jpienaar wrote:

Good question, I think not (it may even be that the two above this is also not covered). I'll add a couple. 

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


More information about the Mlir-commits mailing list