brintos

brintos / llvm-project-archived public Read only

0
0
Text · 559 B · 234a5ee Raw
11 lines · c
1// REQUIRES: plugins, examples, asserts2 3// RUN: %clang_cc1 -mllvm -debug-only=codegenaction -clear-ast-before-backend -emit-obj -o /dev/null -load %llvmshlibdir/PrintFunctionNames%pluginext %s 2>&1 | FileCheck %s --check-prefix=YES4// YES: Clearing AST5 6// RUN: %clang_cc1 -mllvm -debug-only=codegenaction -clear-ast-before-backend -emit-obj -o /dev/null -load %llvmshlibdir/PrintFunctionNames%pluginext -add-plugin print-fns -plugin-arg-print-fns help %s 2>&1 | FileCheck %s --check-prefix=NO7// NO-NOT: Clearing AST8// NO: top-level-decl: "f"9 10void f() {}11