[all-commits] [llvm/llvm-project] 348106: [lldb] [testsuite] Enable forgotten -gsplit-dwarf ...

Jan Kratochvil via All-commits all-commits at lists.llvm.org
Wed Mar 18 07:51:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3481062bc688e21eac175aae0142adcaae361c1c
      https://github.com/llvm/llvm-project/commit/3481062bc688e21eac175aae0142adcaae361c1c
  Author: Jan Kratochvil <jan.kratochvil at redhat.com>
  Date:   2020-03-18 (Wed, 18 Mar 2020)

  Changed paths:
    M lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test
    M lldb/test/Shell/SymbolFile/DWARF/debug-types-expressions.test

  Log Message:
  -----------
  [lldb] [testsuite] Enable forgotten -gsplit-dwarf for 2 testfiles

D63643 added these testfiles but some of the %t4dwo and %t5dwo builds
are the same as corresponding %t4 and %t5 builds. Fortunately the
testcases do PASS.

After just adding -gsplit-dwarf these both skeleton files:
  tools/lldb/test/SymbolFile/DWARF/Output/debug-types-expressions.test.tmp4dwo
  tools/lldb/test/SymbolFile/DWARF/Output/debug-types-expressions.test.tmp5dwo

were referencing to this one non-skeleton file:
  tools/lldb/test/SymbolFile/DWARF/debug-types-expressions.dwo

Surprisingly it does not affect the other test debug-types-basic.test
probably because it compiles to .o and then links it. While
debug-types-expressions.test compiles directly to an executable.

So fixed that while keeping the direct executable compilation.

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




More information about the All-commits mailing list