HomePhabricator

[DEBUGINFO] Disable emission of the dwarf sections, but allow directives.

Authored by ABataev on Aug 1 2018, 12:38 PM.

Description

[DEBUGINFO] Disable emission of the dwarf sections, but allow directives.

Summary:
Added an option that allows to emit only '.loc' and '.file' kind debug
directives, but disables emission of the DWARF sections. Required for
NVPTX target to support profiling. It requires '.loc' and '.file'
directives, but does not require any DWARF sections for the profiler.

Reviewers: probinson, echristo, dblaikie

Subscribers: aprantl, JDevlieghere, llvm-commits

Differential Revision: https://reviews.llvm.org/D46021

llvm-svn: 338616

Details

Committed
ABataevAug 1 2018, 12:38 PM
Differential Revision
D46021: [DEBUGINFO] Disable emission of the dwarf sections, but allow directives.
Parents
rG11f14904d3c1: lld-link: Remove /msvclto option
Branches
Unknown
Tags
Unknown