[PATCH] D126086: make it a assembly test

Rui Zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 12:38:26 PDT 2022


zr33 created this revision.
Herald added a reviewer: rafauler.
Herald added a subscriber: ayermolo.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a project: All.
zr33 requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126086

Files:
  bolt/test/X86/dwarf5-df-dualcu.test


Index: bolt/test/X86/dwarf5-df-dualcu.test
===================================================================
--- bolt/test/X86/dwarf5-df-dualcu.test
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126086.431027.patch
Type: text/x-patch
Size: 1442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220520/d6254763/attachment.bin>


More information about the llvm-commits mailing list