You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
13
external/llvm/test/LTO/X86/diagnostic-handler-noexit.ll
vendored
Normal file
13
external/llvm/test/LTO/X86/diagnostic-handler-noexit.ll
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
; LTO default diagnostic handler should be non-exiting.
|
||||
; This test verifies that after addModule() encounters an error, the diagnostic
|
||||
; handler does not call exit(1) and instead returns to the caller of addModule.
|
||||
|
||||
; RUN: llvm-as <%s >%t1
|
||||
; RUN: llvm-as <%s >%t2
|
||||
; RUN: not llvm-lto -use-diagnostic-handler -o /dev/null %t1 %t2 2>&1 | FileCheck %s
|
||||
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
; CHECK: llvm-lto: error: Linking globals named 'goodboy': symbol multiply defined!
|
||||
; CHECK: llvm-lto{{.*}}: error adding file
|
||||
@goodboy = global i32 3203383023, align 4 ; 0xbeefbeef
|
Reference in New Issue
Block a user