[llvm] f31f4ad - [DebugInfo][NFC] Remove dead lines of test input

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 11:29:33 PDT 2023


Author: Felipe de Azevedo Piovezan
Date: 2023-06-20T14:29:12-04:00
New Revision: f31f4adea1f1752dc4b6e3f6b4228b809295f979

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

LOG: [DebugInfo][NFC] Remove dead lines of test input

This test uses a separate input file, so its IR is meaningless.

Differential Revision: https://reviews.llvm.org/D153274

Added: 
    

Modified: 
    llvm/test/DebugInfo/accel-tables-apple.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/accel-tables-apple.ll b/llvm/test/DebugInfo/accel-tables-apple.ll
index 776c19f9b17fa..fc1e1ed5bc1b0 100644
--- a/llvm/test/DebugInfo/accel-tables-apple.ll
+++ b/llvm/test/DebugInfo/accel-tables-apple.ll
@@ -18,39 +18,3 @@
 ; DEBUG_NAMES: debug_names
 ; DEBUG_NAMES-NOT: apple_names
 ; DEBUG_NAMES-NOT: pubnames
-
- at var = thread_local global i32 0, align 4, !dbg !0
-
-; Function Attrs: norecurse nounwind readnone uwtable
-define void @_Z3funv() local_unnamed_addr #0 !dbg !11 {
-  ret void, !dbg !14
-}
-
-; Function Attrs: norecurse uwtable
-define weak_odr hidden ptr @_ZTW3var() local_unnamed_addr #1 {
-  ret ptr @var
-}
-
-attributes #0 = { norecurse nounwind readnone uwtable }
-attributes #1 = { norecurse uwtable }
-
-!llvm.dbg.cu = !{!2}
-!llvm.module.flags = !{!7, !8, !9}
-!llvm.ident = !{!10}
-
-!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
-!1 = distinct !DIGlobalVariable(name: "var", scope: !2, file: !3, line: 1, type: !6, isLocal: false, isDefinition: true)
-!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang version 7.0.0 (trunk 322268) (llvm/trunk 322267)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5, nameTableKind: Apple)
-!3 = !DIFile(filename: "debugger-tune.cpp", directory: "/tmp")
-!4 = !{}
-!5 = !{!0}
-!6 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
-!7 = !{i32 2, !"Dwarf Version", i32 4}
-!8 = !{i32 2, !"Debug Info Version", i32 3}
-!9 = !{i32 1, !"wchar_size", i32 4}
-!10 = !{!"clang version 7.0.0 (trunk 322268) (llvm/trunk 322267)"}
-!11 = distinct !DISubprogram(name: "fun", linkageName: "_Z3funv", scope: !3, file: !3, line: 2, type: !12, isLocal: false, isDefinition: true, scopeLine: 2, flags: DIFlagPrototyped, isOptimized: true, unit: !2, retainedNodes: !4)
-!12 = !DISubroutineType(types: !13)
-!13 = !{null}
-!14 = !DILocation(line: 2, column: 13, scope: !11)
-


        


More information about the llvm-commits mailing list