llvm-project/llvm/test/Feature/load_plugin_error.ll
Arthur Eubanks 8fe7e88386
[opt] Properly report errors when loading pass plugins (#69745)
All error messages here already contain the path to the plugin, so no
need to repeat it in opt.cpp.
2023-10-23 09:55:29 -07:00

6 lines
214 B
LLVM

; REQUIRES: plugins, examples
; UNSUPPORTED: target={{.*windows.*}}
; RUN: not opt < %s -load-pass-plugin=%t/nonexistant.so -disable-output 2>&1 | FileCheck %s
; CHECK: Could not load library {{.*}}nonexistant.so