diff --git a/bolt/test/X86/dwarf5-df-dualcu.test b/bolt/test/X86/dwarf5-df-dualcu.test --- a/bolt/test/X86/dwarf5-df-dualcu.test +++ b/bolt/test/X86/dwarf5-df-dualcu.test @@ -1,10 +1,14 @@ ; RUN: rm -rf %t ; RUN: mkdir %t ; RUN: cd %t -; RUN: llc -split-dwarf-file=main.dwo -split-dwarf-output=main.dwo -O0 -mtriple=x86_64-unknown-linux-gnu \ -; RUN: -filetype=obj %p/Inputs/dwarf5-df-dualcu-main.ll -o=main.o -; RUN: llc -split-dwarf-file=helper.dwo -split-dwarf-output=helper.dwo -O0 -mtriple=x86_64-unknown-linux-gnu \ -; RUN: -filetype=obj %p/Inputs/dwarf5-df-dualcu-helper.ll -o=helper.o +; RUN: llc --dwarf-version=5 -split-dwarf-file=main.dwo -O0 -mtriple=x86_64-unknown-linux-gnu \ +; RUN: %p/Inputs/dwarf5-df-dualcu-main.ll -o main.s +; RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux main.s \ +; RUN: -split-dwarf-file=main.dwo -o main.o +; RUN: llc --dwarf-version=5 -split-dwarf-file=helper.dwo -O0 -mtriple=x86_64-unknown-linux-gnu \ +; RUN: %p/Inputs/dwarf5-df-dualcu-helper.ll -o helper.s +; RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux helper.s \ +; RUN: -split-dwarf-file=helper.dwo -o helper.o ; RUN: %clang %cflags -gdwarf-5 -gsplit-dwarf=split main.o helper.o -o main.exe ; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections ; RUN: llvm-dwarfdump --show-form --verbose --debug-info main.exe | FileCheck -check-prefix=PRE-BOLT %s