[PATCH] D113506: [DebugInfo] Fix broken MachO test

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 9 12:11:52 PST 2021


ellis created this revision.
ellis requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This test was introduced in https://reviews.llvm.org/D112337 and breaks on mac.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113506

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


Index: llvm/test/DebugInfo/Generic/inlined-static-var.ll
===================================================================
--- llvm/test/DebugInfo/Generic/inlined-static-var.ll
+++ llvm/test/DebugInfo/Generic/inlined-static-var.ll
@@ -32,10 +32,8 @@
 ; 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, comdat, align 4, !dbg !10
+ at _ZZ7removedvE1A = linkonce_odr dso_local global i32 0, align 4, !dbg !10
 
 define dso_local i32 @_Z11not_removedv() !dbg !2 {
   %1 = load i32, i32* @_ZZ11not_removedvE1A, align 4, !dbg !24


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113506.385928.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211109/7ccb4816/attachment.bin>


More information about the llvm-commits mailing list