[llvm] [MC][NVPTX] Add target capability for .addrsig directive and disable it for NVPTX (PR #200678)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 10:56:30 PDT 2026


MaskRay wrote:

> This patch introduces a target capability in MCAsmInfo to indicate support for .addrsig directives and use it in AsmPrinter to suppress emission on targets that do not support the directive. It also disables .addrsig directives for NVPTX and add a regression test to verify that NVPTX assembly does not contain .addrsig.

Can you make `EmitAddrsig` false instead?

https://github.com/llvm/llvm-project/pull/200678


More information about the llvm-commits mailing list