[llvm] [DebugInfo] Add DW_AT_artificial for compiler generated static member… (PR #116429)
Carlos Alberto Enciso via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 15 11:41:25 PST 2024
https://github.com/CarlosAlbertoEnciso created https://github.com/llvm/llvm-project/pull/116429
…. (#116327)
Consider the case when the compiler generates a static member. Any consumer of the debug info generated for that case, would benefit if that member has the DW_AT_artificial flag.
Fix the syntax for 'REQUIRES', to include a regular expression.
>From b007b24b649dc59dbb0c42b34aa910d9db367f53 Mon Sep 17 00:00:00 2001
From: Carlos Alberto Enciso <Carlos.Enciso at sony.com>
Date: Fri, 15 Nov 2024 19:28:02 +0000
Subject: [PATCH] [DebugInfo] Add DW_AT_artificial for compiler generated
static member. (#116327)
Consider the case when the compiler generates a static member. Any
consumer of the debug info generated for that case, would benefit if
that member has the DW_AT_artificial flag.
Fix the syntax for 'REQUIRES', to include a regular expression.
---
llvm/test/DebugInfo/Generic/artificial-static-member.ll | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/DebugInfo/Generic/artificial-static-member.ll b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
index 5c247d6959bf7b..47b7fa33b686f4 100644
--- a/llvm/test/DebugInfo/Generic/artificial-static-member.ll
+++ b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
@@ -1,4 +1,4 @@
-; REQUIRES: x86_64-linux
+; REQUIRES: target={{x86_64-.*-linux}}
; RUN: llc -O0 -filetype=obj < %s | \
; RUN: llvm-dwarfdump --debug-info - | FileCheck %s
More information about the llvm-commits
mailing list