[Lldb-commits] [lldb] r270891 - Make sure that we succeed in starting a definition before we complete it and emit an error if we fail to start the definition.

Ed Maste via lldb-commits lldb-commits at lists.llvm.org
Tue May 31 13:24:49 PDT 2016


On 26 May 2016 at 15:24, Greg Clayton via lldb-commits
<lldb-commits at lists.llvm.org> wrote:
> Author: gclayton
> Date: Thu May 26 14:24:02 2016
> New Revision: 270891
>
> URL: http://llvm.org/viewvc/llvm-project?rev=270891&view=rev
> Log:
> Make sure that we succeed in starting a definition before we complete it and emit an error if we fail to start the definition.
>
...
> +                                {
> +                                    module_sp->ReportError ("DWARF DIE at 0x%8.8x was not able to start its definition.\nPlease file a bug and attach the file at the start of this error message",
> +                                                            type_die_ref.die_offset,
> +                                                            type_name_cstr);
> +                                }

../tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:1762:61:
warning: data argument not used by format string [-Wformat-extra-args]
                                                            type_name_cstr);
                                                            ^


More information about the lldb-commits mailing list