1.转ll会在本地生成一个test.ll文件 llvm-dis test.bc 2.-o指令生成.ll文件名 llvm-dis test.b -o test10.ll 3.将.ll导出到日志文件中 ./llvm-dis <test.bc >>test.txt 2>&1
llvm-dis is a command-line utility that plays a crucial role in the LLVM (Low-Level Virtual Machine) compiler infrastructure by converting LLVM bitcode files into human-readable LLVM Intermediate Representation (IR). This transformation allows developers to inspect, analyze, and understand the struct...
; RUN: llvm-dis %t0 %t1 ; RUN: FileCheck %s < %t0.ll ; RUN: FileCheck %s < %t1.ll ; ERROR: error: output file name cannot be set for multiple input files; CHECK: declare void @foo declare void @foo() 114 changes: 62 additions & 52 deletions 114 llvm/tools/llvm-dis/llvm...
llvm-dis is a command-line utility that plays a crucial role in the LLVM (Low-Level Virtual Machine) compiler infrastructure by converting LLVM bitcode files into human-readable LLVM Intermediate Representation (IR). This transformation allows developers to inspect, analyze, and understand the struct...