[llvm] [PTX][Debug] Add .loc directives to inlined PTX. (PR #177718)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 10:52:05 PDT 2026


ayermolo wrote:

> LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `llvm` at step 5 "compile-openmp".
> 
> Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/26212
> 
> Here is the relevant piece of the build log for the reference

Failure doesn't seem to be related to my changes:

"0.123 [564/130/94] Building CXX object libc/src/__support/RPC/CMakeFiles/libc.src.__support.RPC.rpc_client.dir/rpc_client.cpp.o
FAILED: libc/src/__support/RPC/CMakeFiles/libc.src.__support.RPC.rpc_client.dir/rpc_client.cpp.o 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/clang++ --target=amdgcn-amd-amdhsa -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git -D__LIBC_USE_FLOAT16_CONVERSION -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc -isystem /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/include/amdgcn-amd-amdhsa -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -UNDEBUG --target=amdgcn-amd-amdhsa -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=element -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=element -DLIBC_ADD_NULL_CHECKS "-DLIBC_MATH=(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT | LIBC_MATH_SMALL_TABLES | LIBC_MATH_NO_ERRNO | LIBC_MATH_NO_EXCEPT)" -fno-math-errno -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_SHARED -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_SINGLE -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -DLIBC_TARGET_OS_IS_GPU -fpie -DLIBC_FULL_BUILD -nostdlibinc -ffixed-point -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -nogpulib -fvisibility=hidden -fconvergent-functions -flto -Wno-multi-gpu -Xclang -mcode-object-version=none -MD -MT libc/src/__support/RPC/CMakeFiles/libc.src.__support.RPC.rpc_client.dir/rpc_client.cpp.o -MF libc/src/__support/RPC/CMakeFiles/libc.src.__support.RPC.rpc_client.dir/rpc_client.cpp.o.d -o libc/src/__support/RPC/CMakeFiles/libc.src.__support.RPC.rpc_client.dir/rpc_client.cpp.o -c /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/RPC/rpc_client.cpp
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/RPC/rpc_client.cpp:9:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/RPC/rpc_client.h:15:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/CPP/type_traits.h:25:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/CPP/type_traits/is_arithmetic.h:12:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/CPP/type_traits/is_floating_point.h:15:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/src/__support/macros/properties/types.h:14:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/hdr/stdint_proxy.h:17:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/include/llvm-libc-macros/stdint-macros.h:233:9: error: '__stdint_join3' macro redefined [-Werror,-Wmacro-redefined]
  233 | #define __stdint_join3(a, b, c) a##b##c
      |         ^
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/23/include/stdint.h:291:9: note: previous definition is here
  291 | #define __stdint_join3(a,b,c) a ## b ## c
      |  "

https://github.com/llvm/llvm-project/pull/177718


More information about the llvm-commits mailing list