OSDN Git Service

[DEBUGINFO] Add option that allows to disable emission of flags in .loc directives.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 3 Apr 2018 17:28:55 +0000 (17:28 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 3 Apr 2018 17:28:55 +0000 (17:28 +0000)
commitd88368c7999b2c09b52a32f636afa9e21d3c0b98
tree94de8c6be37112a5a38237684499ecf03f001f4c
parent36d6cce30a657ca91eb2794444eb2d08d20865b3
[DEBUGINFO] Add option that allows to disable emission of flags in .loc directives.

Summary:
Some targets do not support extended format of .loc directive and
support only simple format: .loc <FileID> <Line> <Column>. Patch adds
MCAsmInfo flag and option that allows emit .loc directive without
additional flags.

Reviewers: echristo

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329089 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmStreamer.cpp
test/DebugInfo/Generic/extended-loc-directive.ll [new file with mode: 0644]