[PATCH] D45783: [DEBUGINFO, NVPTX] Render `-no-cuda-debug` LLVM option when required.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 21 07:47:01 PDT 2018


ABataev added a comment.

In https://reviews.llvm.org/D45783#1106019, @echristo wrote:

> So, I'd really prefer not to set options via the backend option path. From here I think we should aim to take all of the options we added and having the asm printer in the backend know how to set them depending on the target. We could also add things to the IR metadata if necessary, but I'd like to avoid that if possible.
>
> Thoughts?


This patch is outdated a bit, I have a patch https://reviews.llvm.org/D46061 that does it in a different way, via `MCOption`


Repository:
  rC Clang

https://reviews.llvm.org/D45783





More information about the cfe-commits mailing list