[llvm-bugs] [Bug 41286] New: clang/lib/AST/ExprConstant.cpp:5032: bool (anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::PointerExprEvaluator>::VisitMemberExpr(const clang::MemberExpr *) [Derived = (anonymous namespace)::PointerExprEvaluator]: Assertion `!E->isArrow() &

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 28 18:50:53 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41286

            Bug ID: 41286
           Summary: clang/lib/AST/ExprConstant.cpp:5032: bool (anonymous
                    namespace)::ExprEvaluatorBase<(anonymous
                    namespace)::PointerExprEvaluator>::VisitMemberExpr(con
                    st clang::MemberExpr *) [Derived = (anonymous
                    namespace)::PointerExprEvaluator]: Assertion
                    `!E->isArrow() &
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: phosek at chromium.org
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 21693
  --> https://bugs.llvm.org/attachment.cgi?id=21693&action=edit
Preprocessed source(s) and associated run script(s)

This appears to have been introduced by r356397
(https://reviews.llvm.org/D58797)

FAILED:
obj/third_party/gperftools/src/profiler_lib.emergency_malloc_for_stacktrace.o
/b/s/w/ir/k/recipe_cleanup/clangwCxDxm/bin/clang++ -MD -MF
obj/third_party/gperftools/src/profiler_lib.emergency_malloc_for_stacktrace.o.d
-DTOOLCHAIN_VERSION=VfjCTv_h1ybUn0AKylad4JS2lHuJzoax08cIodi2gBUC
-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -DZX_DEBUGLEVEL=2 -I../.. -Igen
-I../../garnet/lib/profiler/fuchsia -I../../third_party/gperftools/src
-I../../garnet/lib/profiler/include -Ifidling/gen
-I../../zircon/system/ulib/fidl/include -I../../sdk -Igen/sdk
-I../../zircon/system/ulib/fit/include
-I../../zircon/system/ulib/fidl-async/include
-I../../zircon/system/ulib/async/include
-I../../zircon/system/ulib/fidl/include -I../../zircon/system/ulib/zx/include
-I../../zircon/system/ulib/zx/include/lib
-I../../zircon/system/ulib/async/include
-I../../zircon/system/ulib/async/include
-I../../zircon/system/ulib/async/include -I../../garnet/public
-I../../peridot/public -I../../topaz/public -Igen/garnet/public
-Igen/peridot/public -Igen/topaz/public -I../../garnet/public
-I../../peridot/public -I../../topaz/public -Ix64-shared/gen/garnet/public
-Ix64-shared/gen/peridot/public -Ix64-shared/gen/topaz/public
-I../../zircon/system/ulib/fbl/include -I../../zircon/system/ulib/fs/include
-I../../zircon/system/ulib/async/include
-I../../zircon/system/ulib/cobalt-client/include
-I../../zircon/system/ulib/fdio/include -I../../zircon/system/ulib/fdio/include
-I../../zircon/system/ulib/fzl/include
-I../../zircon/system/ulib/fidl-utils/include
-I../../zircon/system/ulib/sync/include
-I../../zircon/system/ulib/zircon-internal/include
-I../../zircon/system/ulib/trace/include
-I../../zircon/system/ulib/trace-engine/include
-I../../zircon/system/ulib/trace-engine/include
-I../../zircon/system/ulib/syslog/include
-I../../zircon/system/ulib/syslog/include
-I../../zircon/system/ulib/async-loop/include
-I../../zircon/system/ulib/async-loop/include -fcolor-diagnostics
--sysroot=/b/s/w/ir/k/out/x64/zircon_toolchain/obj/zircon/public/sysroot/sysroot
--target=x86_64-fuchsia -march=x86-64 -mcx16
-fdebug-prefix-map=/b/s/w/ir/k=../.. -no-canonical-prefixes
-fno-omit-frame-pointer -g3 -Wall -Wextra -Wno-unused-parameter
-Wno-unused-lambda-capture -Wno-user-defined-warnings -fvisibility=hidden -O0
-Werror -Wno-error=deprecated-declarations -fvisibility-inlines-hidden
-std=c++17 -fno-exceptions -fno-rtti -Wthread-safety -c
../../third_party/gperftools/src/emergency_malloc_for_stacktrace.cc -o
obj/third_party/gperftools/src/profiler_lib.emergency_malloc_for_stacktrace.o
clang++: /b/s/w/ir/k/llvm-project/clang/lib/AST/ExprConstant.cpp:5032: bool
(anonymous namespace)::ExprEvaluatorBase<(anonymous
namespace)::PointerExprEvaluator>::VisitMemberExpr(const clang::MemberExpr *)
[Derived = (anonymous namespace)::PointerExprEvaluator]: Assertion
`!E->isArrow() && "missing call to bound member function?"' failed.
clang++: error: unable to execute command: Aborted
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190329/67f3855a/attachment-0001.html>


More information about the llvm-bugs mailing list