[FaultMaps] Add a parser for the __llvm__faultmaps section.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 22 Jun 2015 18:03:02 +0000 (18:03 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 22 Jun 2015 18:03:02 +0000 (18:03 +0000)
commite0ef46e5e7b53c46d6d3954110d4dbc28aaf5246
treeb8f80d4acff41d7c8e74dca6d85c690ea6b25e1a
parent5a94e2a9e8aa7e44c1b62ac82773c648309590db
[FaultMaps] Add a parser for the __llvm__faultmaps section.

Summary:
The parser is exercised by llvm-objdump using -print-fault-maps.  As is
probably obvious, the code itself was "heavily inspired" by
http://reviews.llvm.org/D10434.

Reviewers: reames, atrick, JosephTremoulet

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240304 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FaultMaps.h
lib/CodeGen/FaultMaps.cpp
test/CodeGen/X86/implicit-null-check.ll
test/MC/X86/faultmap-section-parsing.s [new file with mode: 0644]
tools/llvm-objdump/llvm-objdump.cpp