[PATCH] D45782: [DEBUGINFO, NVPTX] Allow to disable debug info from command line.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 12:58:42 PDT 2018


ABataev added a comment.

In https://reviews.llvm.org/D45782#1071339, @aprantl wrote:

> What's the difference between that and -gline-tables-only?


`-gline-table-only` still emits `.debug_info` DWARF sections and because of that `debug` option is emitted. But it is not allowed to have `debug` options on `.target` directive when you need to optimize the code. Without `debug` option DWARF sections are just ignored.


Repository:
  rL LLVM

https://reviews.llvm.org/D45782





More information about the llvm-commits mailing list