[all-commits] [llvm/llvm-project] 9bdeab: [LinkerWrapper][Obvious] Fix dangling stringref on...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Oct 25 08:42:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bdeab1e7b25240d9282dbdc3617aaade195d62e
      https://github.com/llvm/llvm-project/commit/9bdeab1e7b25240d9282dbdc3617aaade195d62e
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [LinkerWrapper][Obvious] Fix dangling stringref on Xcuda-ptxas options

Summary:
This accidentally was a dangling reference and caused issues when
actually used. Make sure that the memory is saved before the job is
created.




More information about the All-commits mailing list