[PATCH] D45784: [DEBUG_INFO, NVPTX] Fix relocation info.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 5 10:26:11 PDT 2018


ABataev added a comment.

In https://reviews.llvm.org/D45784#1224027, @echristo wrote:

> Rather than testing for isNVPTX in AsmPrinter.cpp I'd rather just make a function "emitPreFunctionDebugInfo" and have it do nothing unless it's NVPTX and then define this in the nvptx backend. Easier to update if nvidia ever fixes this weirdness too.


Seems to me you were looking to the very first patch. The last one looks exactly like you want. Switch to the latest revision.


Repository:
  rL LLVM

https://reviews.llvm.org/D45784





More information about the llvm-commits mailing list