[all-commits] [llvm/llvm-project] 4357cf: [OpenMP][Offloading] Add -g when compiling deviceR...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Sun Jul 18 06:35:08 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4357cfc7929ec794b4364846fd78f73c8d4f41cd
https://github.com/llvm/llvm-project/commit/4357cfc7929ec794b4364846fd78f73c8d4f41cd
Author: Shilei Tian <tianshilei1992 at gmail.com>
Date: 2021-07-18 (Sun, 18 Jul 2021)
Changed paths:
M openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
M openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
Log Message:
-----------
[OpenMP][Offloading] Add -g when compiling deviceRTLs in debug mode
Currently when we compile the project in debug mode, `-g` will not be added to
compilation flag. The bc files generated in different mode are of different size.
When using GPU debuggers like `cuda-gdb`, it is expected to provide more info
with a debug version of bc lib.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D106229
More information about the All-commits
mailing list