
When current state is `CFG_Finalized`, function `validateCFG()` should return true directly. Reviewed By: maksfb, yota9, Kepontry Differential Revision: https://reviews.llvm.org/D159410
9 lines
271 B
Plaintext
9 lines
271 B
Plaintext
# Verify if the `--verify-cfg` option might produce incorrect alerts.
|
|
|
|
REQUIRES: system-linux
|
|
|
|
RUN: %clang %cflags %p/Inputs/hello.c -o %t -Wl,-q
|
|
RUN: llvm-bolt %t -o %t.bolt --verify-cfg 2>&1 | FileCheck %s
|
|
|
|
CHECK-NOT: BOLT-ERROR: Invalid CFG detected after pass {{.*}}
|