mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
72d9dcdd94
Forked from pr/46523, we were having a hard time running llvm-extract on IR from a thinLTO build of the Linux kernel. $ llvm-extract --func jeq_imm jit-42f488b63a04fdaa931315bdadecb6d23e20529a.ll llvm-extract: jit-42f488b63a04fdaa931315bdadecb6d23e20529a.ll:47463:8: error: Expected 'gv', 'module', or 'typeid' at the start of summary entry ^209 = flags: 8 ^ Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D82917
11 lines
205 B
LLVM
11 lines
205 B
LLVM
; Test that we can parse flag summaries.
|
|
; RUN: opt %s -o /dev/null
|
|
|
|
define void @main() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
^0 = module: (path: "{{.*}}thinlto-flags-summary.ll", hash: (0, 0, 0, 0, 0))
|
|
^1 = flags: 8
|