diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-02-12 09:23:56 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-02-12 09:23:56 +0100 |
commit | 96088c08fd94edbeba26f4a67821ea62b5077605 (patch) | |
tree | 7f663881549a6034734fef74fa29c1b104f83636 /src/ghdldrv/ghdl_llvm.adb | |
parent | bce7a19011080e04ac3becc39809453ea05dfd33 (diff) | |
download | ghdl-96088c08fd94edbeba26f4a67821ea62b5077605.tar.gz ghdl-96088c08fd94edbeba26f4a67821ea62b5077605.tar.bz2 ghdl-96088c08fd94edbeba26f4a67821ea62b5077605.zip |
ghdl: print llvm or gcc backend version with --version
Diffstat (limited to 'src/ghdldrv/ghdl_llvm.adb')
-rw-r--r-- | src/ghdldrv/ghdl_llvm.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdl_llvm.adb b/src/ghdldrv/ghdl_llvm.adb index 036d71c0c..b110194d0 100644 --- a/src/ghdldrv/ghdl_llvm.adb +++ b/src/ghdldrv/ghdl_llvm.adb @@ -21,12 +21,14 @@ with Ghdlvpi; with Ghdlxml; with Ghdllib; with Ghdlsynth_Maybe; +with Default_Paths; procedure Ghdl_Llvm is begin -- Manual elaboration so that the order is known (because it is the order -- used to display help). - Ghdlmain.Version_String := new String'("llvm code generator"); + Ghdlmain.Version_String := + new String'("llvm " & Default_Paths.Backend_Version & " code generator"); Ghdldrv.Backend := Ghdldrv.Backend_Llvm; Ghdldrv.Register_Commands; Ghdlsynth_Maybe.Register_Commands; |