CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
60 lines
2.2 KiB
Plaintext
60 lines
2.2 KiB
Plaintext
# Not run on Windows because we are not able to break on all the required functions.
|
|
# Even if we could, function.name* formatting also does not work correctly:
|
|
# https://github.com/llvm/llvm-project/issues/143149
|
|
# UNSUPPORTED: system-windows
|
|
|
|
# Test different name formats.
|
|
|
|
# RUN: %build %S/Inputs/names.cpp --std c++17 -o %t.out
|
|
# RUN: split-file %s %t
|
|
|
|
#--- name_with_args.input
|
|
# RUN: %lldb -b -s %t/name_with_args.input %t.out | FileCheck %s --check-prefix=NAME_WITH_ARGS
|
|
settings set -f frame-format "frame ${function.name-with-args}\n"
|
|
break set -n foo
|
|
break set -n operator<<
|
|
break set -n returns_func_ptr
|
|
break set -n inlined_foo
|
|
run
|
|
# NAME_WITH_ARGS: frame int ns::foo<int ()>(t={{.*}})
|
|
c
|
|
# NAME_WITH_ARGS: frame int ns::foo<int ()>(str="bar")
|
|
c
|
|
# NAME_WITH_ARGS: frame int ns::foo<(anonymous namespace)::$_0>(t=(anonymous namespace)::(unnamed class) @ {{.*}})
|
|
c
|
|
# NAME_WITH_ARGS: frame int ns::foo<int (*)()>(t=({{.*}}`(anonymous namespace)::anon_bar() at {{.*}}))
|
|
c
|
|
# NAME_WITH_ARGS: frame int ns::foo<void (Foo::*)(int (*)(int)) const noexcept>(str="method")
|
|
c
|
|
# NAME_WITH_ARGS: frame detail::Quux<double> (* (*ns::returns_func_ptr<int>((null)={{.*}}))(int))(float)
|
|
c
|
|
# NAME_WITH_ARGS: frame void Foo::foo<int (*)()>(this={{.*}}, arg=({{.*}}`(anonymous namespace)::anon_bar() at {{.*}}))
|
|
c
|
|
# NAME_WITH_ARGS: frame void Foo::operator<<<1>(this={{.*}}, (null)=0)
|
|
c
|
|
# NAME_WITH_ARGS: frame detail::Quux<double> (* (*Foo::returns_func_ptr<int>(this={{.*}}, (null)={{.*}}))(int))(float) const
|
|
c
|
|
# NAME_WITH_ARGS: frame inlined_foo(str="bar")
|
|
q
|
|
|
|
#--- name.input
|
|
# RUN: %lldb -b -s %t/name.input %t.out | FileCheck %s --check-prefix=NAME
|
|
settings set -f frame-format "frame ${function.name}\n"
|
|
break set -n inlined_foo
|
|
run
|
|
# NAME: frame inlined_foo(char const*)
|
|
|
|
#--- name_without_args.input
|
|
# RUN: %lldb -b -s %t/name_without_args.input %t.out | FileCheck %s --check-prefix=NAME_WITHOUT_ARGS
|
|
settings set -f frame-format "frame ${function.name-without-args}\n"
|
|
break set -n inlined_foo
|
|
run
|
|
# NAME_WITHOUT_ARGS: frame inlined_foo
|
|
|
|
#--- mangled_name.input
|
|
# RUN: %lldb -b -s %t/mangled_name.input %t.out | FileCheck %s --check-prefix=MANGLED_NAME
|
|
settings set -f frame-format "frame ${function.mangled-name}\n"
|
|
break set -n inlined_foo
|
|
run
|
|
# MANGLED_NAME: frame _Z11inlined_fooPKc
|