brintos

brintos / llvm-project-archived public Read only

0
0
Text · 524 B · 134c3d0 Raw
19 lines · plain
1# RUN: llvm-mc -triple riscv32 -mattr=+c %s -g -o - -M no-aliases \2# RUN:   | FileCheck %s -check-prefixes=COMPRESS,BOTH3# RUN: llvm-mc -triple riscv32 %s -g -o - -M no-aliases \4# RUN:   | FileCheck %s -check-prefixes=UNCOMPRESS,BOTH5 6 7# This file ensures that compressing an instruction preserves its debug info.8 9 10# BOTH: .file 111# BOTH-SAME: "compress-debug-info.s"12 13# BOTH:            .loc 1 [[# @LINE + 3 ]] 014# UNCOMPRESS-NEXT: addi a0, a1, 015# COMPRESS-NEXT:   c.mv a0, a116addi a0, a1, 017 18# BOTH-LABEL: .debug_info19