[all-commits] [llvm/llvm-project] a10eb0: Do not append terminating NUL to the binary string...

Artem Belevich via All-commits all-commits at lists.llvm.org
Mon Oct 17 15:42:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a10eb07d1acc2f132b4d0cf522097814a8340b47
      https://github.com/llvm/llvm-project/commit/a10eb07d1acc2f132b4d0cf522097814a8340b47
  Author: Artem Belevich <tra at google.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/test/CodeGenCUDA/device-stub.cu

  Log Message:
  -----------
  Do not append terminating NUL to the binary string with embedded fatbin.

Extra NUL does not impact functionality of the generated code, but it confuses
various NVIDIA tools used to examine embedded GPU binaries.

Differential Revision: https://reviews.llvm.org/D135832




More information about the All-commits mailing list