mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 23:16:06 +00:00

Somme error / help message refer to options with a single dash while help refer to options with a double dash.
13 lines
425 B
LLVM
13 lines
425 B
LLVM
; REQUIRES: x86-registered-target
|
|
|
|
; RUN: llvm-split -o %t %s -mtriple x86_64 -preserve-locals 2>&1 | FileCheck %s
|
|
|
|
; Basic test for a target that doesn't support target-specific module splitting.
|
|
|
|
; CHECK: warning: --preserve-locals has no effect when using TargetMachine::splitModule
|
|
; CHECK: warning: TargetMachine::splitModule failed, falling back to default splitModule implementation
|
|
|
|
define void @bar() {
|
|
ret void
|
|
}
|