trailofbits / vast

VAST is an experimental compiler pipeline designed for program analysis of C and C++. It provides a tower of IRs as MLIR dialects to choose the best fit representations for a program analysis or further program abstraction.
https://trailofbits.github.io/vast/
Apache License 2.0
368 stars 23 forks source link

Tests not passing on default linux distro due to `CC` not being `clang`. #630

Open lkorenc opened 1 week ago

lkorenc commented 1 week ago

VAST version

master

LLVM version

18

Operating system

Agnostic

Description

If CC is not set to clang some ABI-specific tests will fail (as they compile to .ll). Replace %cc in those tests with newly introduced %clang (if somebody is running tests they are already linking to clang so they should have the binary with compatible version - or add some config option).

Steps to Reproduce

Set CC to gcc, run tests.