================ @@ -0,0 +1,112 @@ +// RUN: %clang_cc1 -triple=x86_64-linux -disable-llvm-passes -emit-llvm \ +// RUN: -debug-info-kind=constructor -dwarf-version=5 -O1 %s \ +// RUN: -o - | FileCheck %s -check-prefix CHECK-EDGES + +// The following are identified edge cases involving the method being called: +// 1) Method is declared but not defined in current CU. +// 2) Pure virtual method but not defined in current CU. +// 3) Virtual method defined very deeply. ---------------- CarlosAlbertoEnciso wrote:
Replaced the comment with: `3) Virtual method defined in a deeply nested structure hierarchy.` It tests that we generate a `call_target` metadata entry at each level of the structure hierarchy. https://github.com/llvm/llvm-project/pull/167666 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
