Skip to content

LLVM backend should warn if llvm tools aren't installed

At the moment the LLVM backend just assumes that the various LLVM tools will be available on the command line. It never checks for this and so if you try to compile some code using the LLVM backend without LLVM tools available on the command line then it fails with:

cannot run: opt

We should print something more informative.

Trac metadata
Trac field Value
Version 7.0.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information