From 156d6160d1075d3e304ea544e9d68349e00ad80d Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 27 Apr 2021 11:00:31 -0700 Subject: compilers: Add `get_debug_args` to base Compiler This was missed, there should be an implementation in the base Compiler class, if for nothing else to help mypy --- mesonbuild/compilers/compilers.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mesonbuild') diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 231eca7..4eeaec7 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1227,6 +1227,10 @@ class Compiler(metaclass=abc.ABCMeta): """ return self.linker.rsp_file_syntax() + def get_debug_args(self, is_debug: bool) -> T.List[str]: + """Arguments required for a debug build.""" + return [] + def get_global_options(lang: str, comp: T.Type[Compiler], -- cgit v1.1