From 7cdd45c2e6e7c0b89da59804f318f3638f0bc988 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Fri, 13 Oct 2023 21:38:22 +0900 Subject: [PATCH] Change --function default to * --- tools/cgeist/Test/Verification/memref-fullrank.c | 2 +- tools/cgeist/driver.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cgeist/Test/Verification/memref-fullrank.c b/tools/cgeist/Test/Verification/memref-fullrank.c index 8cfa35e0c0b2..1984fef540a6 100644 --- a/tools/cgeist/Test/Verification/memref-fullrank.c +++ b/tools/cgeist/Test/Verification/memref-fullrank.c @@ -1,4 +1,4 @@ -// RUN: cgeist %s -S -memref-fullrank -O0 | FileCheck %s +// RUN: cgeist %s -S --function=main -memref-fullrank -O0 | FileCheck %s #include diff --git a/tools/cgeist/driver.cc b/tools/cgeist/driver.cc index 61a493cfddb6..4fdd907ddff1 100644 --- a/tools/cgeist/driver.cc +++ b/tools/cgeist/driver.cc @@ -200,7 +200,7 @@ static cl::opt Output("o", cl::init("-"), cl::desc("Output file")); static cl::opt cfunction("function", cl::desc(""), - cl::init("main"), cl::cat(toolOptions)); + cl::init("*"), cl::cat(toolOptions)); static cl::opt FOpenMP("fopenmp", cl::init(false), cl::desc("Enable OpenMP"));