Add support for StackMap section for ELF/Linux systems
authorPhilip Reames <listmail@philipreames.com>
Fri, 1 Aug 2014 18:47:09 +0000 (18:47 +0000)
committerPhilip Reames <listmail@philipreames.com>
Fri, 1 Aug 2014 18:47:09 +0000 (18:47 +0000)
commit7684618401abb5c43a3d9be15283f381ccde35c9
tree12d9e962761c3604f872216e972a0c0507c2a49e
parent50a4005e351c7fb9b9494e8320df3212dc8207e0
Add support for StackMap section for ELF/Linux systems

This patch adds code to emits the StackMap section on ELF systems. This section is required to support llvm.experimental.stackmap and llvm.experimental.patchpoint intrinsics.

Reviewers: ributzka, echristo

Differential Revision: http://reviews.llvm.org/D4574

llvm-svn: 214538
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/Target/X86/X86AsmPrinter.cpp