From a01f29532289f5fbebcc4f9bc5399fec0c715807 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 24 Aug 2016 18:29:49 +0000 Subject: DebugInfo: Add flag to CU to disable emission of inline debug info into the skeleton CU In cases where .dwo/.dwp files are guaranteed to be available, skipping the extra online (in the .o file) inline info can save a substantial amount of space - see the original r221306 for more details there. llvm-svn: 279650 --- llvm/test/Assembler/dicompileunit.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/test/Assembler') diff --git a/llvm/test/Assembler/dicompileunit.ll b/llvm/test/Assembler/dicompileunit.ll index 994beff3b24..c1683e2d630 100644 --- a/llvm/test/Assembler/dicompileunit.ll +++ b/llvm/test/Assembler/dicompileunit.ll @@ -22,18 +22,18 @@ splitDebugFilename: "abc.debug", emissionKind: FullDebug, enums: !2, retainedTypes: !3, - globals: !5, imports: !6, macros: !7, dwoId: 42) + globals: !5, imports: !6, macros: !7, dwoId: 42, splitDebugInlining: true) ; CHECK: !9 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, isOptimized: false, runtimeVersion: 0, emissionKind: NoDebug) !9 = distinct !DICompileUnit(language: 12, file: !1, producer: "", isOptimized: false, flags: "", runtimeVersion: 0, splitDebugFilename: "", emissionKind: NoDebug) -; CHECK: !10 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2", runtimeVersion: 2, splitDebugFilename: "abc.debug", emissionKind: LineTablesOnly) +; CHECK: !10 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2", runtimeVersion: 2, splitDebugFilename: "abc.debug", emissionKind: LineTablesOnly, splitDebugInlining: false) !10 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2", runtimeVersion: 2, splitDebugFilename: "abc.debug", - emissionKind: LineTablesOnly) + emissionKind: LineTablesOnly, splitDebugInlining: false) !llvm.module.flags = !{!11} !11 = !{i32 2, !"Debug Info Version", i32 3} -- cgit v1.2.3