[llvm] 7b3305f - Revert "[DebugInfo] Fix broken MachO test"

Adrian Kuegel via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 10 01:50:25 PST 2021


Author: Adrian Kuegel
Date: 2021-11-10T10:49:50+01:00
New Revision: 7b3305f4d9a27b91a9b981f98c38923660287b12

URL: https://github.com/llvm/llvm-project/commit/7b3305f4d9a27b91a9b981f98c38923660287b12
DIFF: https://github.com/llvm/llvm-project/commit/7b3305f4d9a27b91a9b981f98c38923660287b12.diff

LOG: Revert "[DebugInfo] Fix broken MachO test"

This reverts commit 06736dab9bb5f8e170038e49b3a65e7a7e6e0f02.
This depends on another patch that will be reverted.

Added: 
    

Modified: 
    llvm/test/DebugInfo/Generic/inlined-static-var.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/inlined-static-var.ll b/llvm/test/DebugInfo/Generic/inlined-static-var.ll
index 88ed85b178bd4..720d4cab48298 100644
--- a/llvm/test/DebugInfo/Generic/inlined-static-var.ll
+++ b/llvm/test/DebugInfo/Generic/inlined-static-var.ll
@@ -32,8 +32,10 @@
 ; CHECK:     NULL
 ; CHECK:   NULL
 
+$_ZZ7removedvE1A = comdat any
+
 @_ZZ11not_removedvE1A = internal global i32 0, align 4, !dbg !0
- at _ZZ7removedvE1A = linkonce_odr dso_local global i32 0, align 4, !dbg !10
+ at _ZZ7removedvE1A = linkonce_odr dso_local global i32 0, comdat, align 4, !dbg !10
 
 define dso_local i32 @_Z11not_removedv() !dbg !2 {
   %1 = load i32, i32* @_ZZ11not_removedvE1A, align 4, !dbg !24


        


More information about the llvm-commits mailing list