[PATCH] D42581: [NVPTX] Emit debug info in DWARF-2 by default for Cuda devices.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 06:57:11 PST 2018


ABataev added a comment.

In https://reviews.llvm.org/D42581#989760, @probinson wrote:

> If you want to force DWARF 2, probably clamping the version in LLVM would be simpler?  Although most of the debug-info tests are architecture-specific and wouldn't run for an NVPTX target anyway.


Hi, I think it would be better to do both: make it default in the frontend and in the backend.


Repository:
  rC Clang

https://reviews.llvm.org/D42581





More information about the cfe-commits mailing list