[Lldb-commits] [PATCH] D55434: ObjectFileBreakpad: Implement sections

Sylvestre Ledru via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 10 07:36:54 PST 2019


sylvestre.ledru added a comment.

@labath This broke lldb on Debian stable:

  In file included from /build/llvm-toolchain-snapshot-8~svn350764/tools/lldb/source/Utility/DataExtractor.cpp:10:
  /build/llvm-toolchain-snapshot-8~svn350764/tools/lldb/include/lldb/Utility/DataExtractor.h:1099:29: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
      return {GetDataStart(), GetByteSize()};
                              ^~~~~~~~~~~~~
  /build/llvm-toolchain-snapshot-8~svn350764/tools/lldb/include/lldb/Utility/DataExtractor.h:1099:29: note: insert an explicit cast to silence this issue
      return {GetDataStart(), GetByteSize()};
                              ^~~~~~~~~~~~~
                              static_cast<size_t>( )


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55434/new/

https://reviews.llvm.org/D55434





More information about the lldb-commits mailing list