[all-commits] [llvm/llvm-project] 1ca5e6: [NVPTX] Fix debugging information being added to N...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Jan 6 10:49:51 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1ca5e68aa07e30567c6aa2409c5641e0a2d77355
https://github.com/llvm/llvm-project/commit/1ca5e68aa07e30567c6aa2409c5641e0a2d77355
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-01-06 (Wed, 06 Jan 2021)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
Log Message:
-----------
[NVPTX] Fix debugging information being added to NVPTX target if remarks are enabled
Summary:
Optimized debugging is not supported by ptxas. Debugging information is degraded to line information only if optimizations are enabled, but debugging information would be added back in by the driver if remarks were enabled. This solves https://bugs.llvm.org/show_bug.cgi?id=48153.
Reviewers: jdoerfert tra jholewinski serge-sans-paille
Differential Revision: https://reviews.llvm.org/D94123
More information about the All-commits
mailing list