diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-06-19 07:30:24 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-06-19 07:31:14 +0200 |
commit | 18a71a430a7cfc460e9b013b37465ba7a9e32b1e (patch) | |
tree | 70f087d599cf9db81bf929c82b182b361937ad53 /src/ortho/llvm6/ortho_code_main.adb | |
parent | b07491996ae541300a1e2c82a5ccfd9414023bc6 (diff) | |
download | ghdl-18a71a430a7cfc460e9b013b37465ba7a9e32b1e.tar.gz ghdl-18a71a430a7cfc460e9b013b37465ba7a9e32b1e.tar.bz2 ghdl-18a71a430a7cfc460e9b013b37465ba7a9e32b1e.zip |
llvm6: add generation of more debug info, improve compatibility
Diffstat (limited to 'src/ortho/llvm6/ortho_code_main.adb')
-rw-r--r-- | src/ortho/llvm6/ortho_code_main.adb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ortho/llvm6/ortho_code_main.adb b/src/ortho/llvm6/ortho_code_main.adb index 11327400a..5dbc6b636 100644 --- a/src/ortho/llvm6/ortho_code_main.adb +++ b/src/ortho/llvm6/ortho_code_main.adb @@ -88,9 +88,11 @@ begin elsif Arg = "-glines" or else Arg = "-gline-tables-only" then - null; + Set_Debug_Level (1); elsif Arg = "-g" then - null; + Set_Debug_Level (2); + elsif Arg = "-g0" then + Set_Debug_Level (0); else -- This is really an argument. declare |