aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/MCTargetDesc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-16 01:05:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-16 01:05:45 +0000
commitc7ce3e4f42219003f30382be17d966cb2dfb4e71 (patch)
tree682db2c5d6612be584c612b334e7f54af0b2094f /lib/Target/X86/MCTargetDesc
parente5fdae03a4137267ae124a35aef11f72bb6aa13b (diff)
downloadexternal_llvm-c7ce3e4f42219003f30382be17d966cb2dfb4e71.zip
external_llvm-c7ce3e4f42219003f30382be17d966cb2dfb4e71.tar.gz
external_llvm-c7ce3e4f42219003f30382be17d966cb2dfb4e71.tar.bz2
Move .ident handling to MCStreamer.
No functionality change, but exposes the API so that codegen can use it too. Patch by Katya Romanova. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/MCTargetDesc')
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp b/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
index 826caf4..032e910 100644
--- a/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
+++ b/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
@@ -91,6 +91,7 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) {
PrivateGlobalPrefix = ".L";
WeakRefDirective = "\t.weak\t";
+ HasIdentDirective = true;
// Set up DWARF directives
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)