This reverts commit r269563. Even though now it passes all LLDB bots after a local fix, there's a new buildbot it fails with tests that we hadn't seen locally: http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/15647 Adding those tests to the list to investigate. llvm-svn: 269568
24 lines
481 B
YAML
24 lines
481 B
YAML
# RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
|
|
# This test ensures that an error is reported when the mir file has LLVM IR and
|
|
# one of the machine functions has a name that doesn't match any function in
|
|
# the LLVM IR.
|
|
|
|
--- |
|
|
|
|
define i32 @foo() {
|
|
ret i32 0
|
|
}
|
|
|
|
...
|
|
---
|
|
name: foo
|
|
body: |
|
|
bb.0:
|
|
...
|
|
---
|
|
# CHECK: function 'faa' isn't defined in the provided LLVM IR
|
|
name: faa
|
|
body: |
|
|
bb.0:
|
|
...
|