[llvm] 87bfa58 - [DebugInfo] Add DW_AT_artificial for compiler generated static member. (#116327)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 00:09:39 PST 2024


Author: Carlos Alberto Enciso
Date: 2024-11-15T08:09:36Z
New Revision: 87bfa58a5a4b85416d2486797d0f21fc67da5cf3

URL: https://github.com/llvm/llvm-project/commit/87bfa58a5a4b85416d2486797d0f21fc67da5cf3
DIFF: https://github.com/llvm/llvm-project/commit/87bfa58a5a4b85416d2486797d0f21fc67da5cf3.diff

LOG: [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 buildbot failure on: llvm-clang-aarch64-darwin
- Add specific configuration: x86_64-linux

Added: 
    

Modified: 
    llvm/test/DebugInfo/Generic/artificial-static-member.ll

Removed: 
    


################################################################################
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