brintos

brintos / llvm-project-archived public Read only

0
0
Text · 524 B · fc1e690 Raw
10 lines · plain
1! Check the correct error diagnostic is reported when a pass plugin shared object isn't found2 3! REQUIRES: plugins, shell4 5! RUN: not %flang -fpass-plugin=X.Y %s 2>&1 | FileCheck %s --check-prefix=ERROR6! RUN: not %flang_fc1 -emit-llvm -o /dev/null -fpass-plugin=X.Y %s 2>&1 | FileCheck %s --check-prefix=ERROR7 8! The exact wording of the error message depends on the system dlerror.9! ERROR: error: unable to load plugin 'X.Y': 'Could not load library 'X.Y': {{.*}}{{[[:space:]].*}}{{.*}}: {{.*}}{{[Nn]}}o such file{{.*}}'10