llvm/lib
Diego Novillo 2b6bd7aaf5 Use ErrorOr for the ::create factory on instrumented and sample profilers.
Summary:
As discussed in
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141027/242445.html,
the creation of reader and writer instances is better done using
ErrorOr. There are no functional changes, but several callers needed to
be adjusted.

Reviewers: bogner

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221120 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-03 00:51:45 +00:00
..
Analysis
AsmParser
Bitcode
CodeGen
DebugInfo
ExecutionEngine
IR
IRReader
LineEditor
Linker Revert r221096 bringing back r221014 with a fix. 2014-11-02 13:28:57 +00:00
LTO
MC
Object
Option
ProfileData Use ErrorOr for the ::create factory on instrumented and sample profilers. 2014-11-03 00:51:45 +00:00
Support
TableGen
Target R600: Don't unnecessarily repeat the register class 2014-11-02 23:46:59 +00:00
Transforms Use ErrorOr for the ::create factory on instrumented and sample profilers. 2014-11-03 00:51:45 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile