[all-commits] [llvm/llvm-project] f3bfc5: [Offload][OpenMP] Prettify error messages by "dema...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Aug 1 15:24:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3bfc56327df821801caa4ae20995f67f8589a19
      https://github.com/llvm/llvm-project/commit/f3bfc56327df821801caa4ae20995f67f8589a19
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMP.h
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/CMakeLists.txt
    M llvm/lib/Frontend/OpenMP/OMP.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M offload/plugins-nextgen/common/include/ErrorReporting.h
    M offload/src/CMakeLists.txt
    M offload/test/sanitizer/kernel_crash.c
    M offload/test/sanitizer/kernel_crash_async.c
    M offload/test/sanitizer/kernel_crash_many.c
    M offload/test/sanitizer/kernel_crash_single.c
    M offload/test/sanitizer/kernel_trap.c
    A offload/test/sanitizer/kernel_trap.cpp
    M offload/test/sanitizer/kernel_trap_async.c
    M offload/test/sanitizer/kernel_trap_many.c

  Log Message:
  -----------
  [Offload][OpenMP] Prettify error messages by "demangling" the kernel name (#101400)

The kernel names for OpenMP are manually mangled and not ideal when we
report something to the user. We demangle them now, providing the
function and line number of the target region, together with the actual
kernel name.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list