[llvm] r356753 - [ObjectYAML] Add basic minidump generation support

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 00:15:44 PDT 2019


On 11/10/2019 05:38, Kristina Brooks wrote:
> Hi,
> 
> This doesn't build with modules enabled (using Clang r374503):
> 
> FAILED: lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/MinidumpYAML.cpp.o
> /o/b/llvm-10/408/bin/clang++  -DGTEST_HAS_RTTI=0 -D_DEBUG
> -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
> -D__STDC_LIMIT_MACROS -Ilib/ObjectYAML
> -I/home/src2/llvm-tainted/lib/ObjectYAML -Iinclude
> -I/home/src2/llvm-tainted/include -O3 -march=native
> -Wno-unused-command-line-argument  -gline-tables-only -stdlib=libc++
> -fPIC -fvisibility-inlines-hidden -Werror=date-time
> -Werror=unguarded-availability-new -std=c++14 -fmodules
> -fmodules-cache-path=/o/b/llvm-10/409/module.cache -Xclang
> -fmodules-local-submodule-visibility -Wall -Wextra
> -Wno-unused-parameter -Wwrite-strings -Wcast-qual
> -Wmissing-field-initializers -pedantic -Wno-long-long
> -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
> -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion
> -fdiagnostics-color -ffunction-sections -fdata-sections -flto=thin -O3
>     -UNDEBUG  -fno-exceptions -fno-rtti -MD -MT
> lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/MinidumpYAML.cpp.o -MF
> lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/MinidumpYAML.cpp.o.d -o
> lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/MinidumpYAML.cpp.o -c
> /home/src2/llvm-tainted/lib/ObjectYAML/MinidumpYAML.cpp
> In module 'LLVM_Utils' imported from
> /home/src2/llvm-tainted/include/llvm/ObjectYAML/YAML.h:12:
> /home/src2/llvm-tainted/include/llvm/Support/YAMLTraits.h:819:48:
> error: call to function 'operator&' that is neither visible in the
> template definition nor found by argument-dependent lookup
>      if ( bitSetMatch(Str, outputting() && (Val & ConstVal) == ConstVal) ) {
>                                                 ^

Should be fixed by r374517.

pl


More information about the llvm-commits mailing list