[llvm] Add support for verifying local type units in .debug_names. (PR #101133)
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 05:24:35 PDT 2024
================
@@ -0,0 +1,116 @@
+# RUN: yaml2obj %s -o - | not llvm-dwarfdump -verify - | FileCheck %s
----------------
labath wrote:
Judging by the strings in this file, you've produced this by running (meta:P) clang over some file, and then tweaking the output. Would it be possible to make the same modifications on the intermediate assembly file instead?
I see there is already a precedent for yaml input files in this folder, so I wouldn't say this is a hard requirement, but I think it'd much easier to see what's going on here by looking at the (annotated) assembly than at a raw hex dump. (At this point, I've gotten pretty good at reading dwarf from assembly, but I'm not l33t enough to do it from hex :P)
https://github.com/llvm/llvm-project/pull/101133
More information about the llvm-commits
mailing list