[clang] [llvm] Reland "[DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7)" (PR #165032)
Jeremy Morse via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 15 10:04:46 PST 2025
================
@@ -0,0 +1,48 @@
+; RUN: llvm-as --disable-verify < %s -o %t0
+; RUN: opt --passes=verify %t0 -o /dev/null
+; RUN: llvm-dis %t0 -o - | FileCheck %s --implicit-check-not=DICompositeType
----------------
jmorse wrote:
This is a good test; but isn't the retainedNodes field going to be normalised by the first llvm-as, meaning that opt and llvm-dis only see a normalised input? If so, perhaps a round-trip test is sufficient, and something else is needed to exercise the metadata-loader for bitcode?
https://github.com/llvm/llvm-project/pull/165032
More information about the cfe-commits
mailing list