HomePhabricator

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

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

Details

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