[llvm] [DebugInfo] Add DW_AT_artificial for compiler generated static member. (PR #116327)
Carlos Alberto Enciso via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 22:59:22 PST 2024
https://github.com/CarlosAlbertoEnciso created https://github.com/llvm/llvm-project/pull/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 buildbot failure on: llvm-clang-aarch64-darwin
- Add specific configuration: x86_64-linux
>From e31433f3e719f59cdafc5e914f44287225d27083 Mon Sep 17 00:00:00 2001
From: Carlos Alberto Enciso <Carlos.Enciso at sony.com>
Date: Fri, 15 Nov 2024 06:45:25 +0000
Subject: [PATCH] [DebugInfo] Add DW_AT_artificial for compiler generated
static member.
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 buildbot failure on: llvm-clang-aarch64-darwin
- Add specific configuration: x86_64-linux
---
llvm/test/DebugInfo/Generic/artificial-static-member.ll | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/test/DebugInfo/Generic/artificial-static-member.ll b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
index 3263c976e39158..5c247d6959bf7b 100644
--- a/llvm/test/DebugInfo/Generic/artificial-static-member.ll
+++ b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
; RUN: llc -O0 -filetype=obj < %s | \
; RUN: llvm-dwarfdump --debug-info - | FileCheck %s
More information about the llvm-commits
mailing list