diff options
author | Marvin Scholz <epirat07@gmail.com> | 2019-06-13 00:10:19 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-13 22:40:16 +0300 |
commit | fa431dddbc45fa539373c932dec650e1e26a9a5c (patch) | |
tree | d03cd16f20b8948dba3f6902eee4363520fb7ce5 | |
parent | bf1323a48c792688aa5c6994f1146760c3fd82fc (diff) | |
download | meson-fa431dddbc45fa539373c932dec650e1e26a9a5c.zip meson-fa431dddbc45fa539373c932dec650e1e26a9a5c.tar.gz meson-fa431dddbc45fa539373c932dec650e1e26a9a5c.tar.bz2 |
compilers: Add logging for symbol prefix test
Currently meson does not write the outcome of this test to the log
file which makes debugging wrong outcomes of this incredibly tedious.
-rw-r--r-- | mesonbuild/compilers/clike.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/compilers/clike.py b/mesonbuild/compilers/clike.py index 8941931..e923ff2 100644 --- a/mesonbuild/compilers/clike.py +++ b/mesonbuild/compilers/clike.py @@ -870,9 +870,11 @@ class CLikeCompiler: # Check if the underscore form of the symbol is somewhere # in the output file. if b'_' + symbol_name in line: + mlog.debug("Symbols have underscore prefix: YES") return True # Else, check if the non-underscored form is present elif symbol_name in line: + mlog.debug("Symbols have underscore prefix: NO") return False raise RuntimeError('BUG: {!r} check failed unexpectedly'.format(n)) |