mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-11 23:05:31 +00:00
82c5180ed1
The LTO Internalize pass is hiding symbols needed by the bugpoint-passes plug-in. We need to add a flag to control whether Internalize should be run. This is a temporary workaround to make these tests pass in the meantime. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166239 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
369 B
LLVM
15 lines
369 B
LLVM
; Test that bugpoint can narrow down the testcase to the important function
|
|
;
|
|
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
|
|
; REQUIRES: loadable_module
|
|
; XFAIL: lto
|
|
|
|
define i32 @foo() { ret i32 1 }
|
|
|
|
define i32 @test() {
|
|
call i32 @test()
|
|
ret i32 %1
|
|
}
|
|
|
|
define i32 @bar() { ret i32 2 }
|