Rafael Espindola
|
c498284e46
Modernize the error handling of the Materialize function.
|
10 years ago |
Rafael Espindola
|
68b02dcd54
Don't ever call materializeAllPermanently during LTO.
|
10 years ago |
Rafael Espindola
|
2292996e1a
Pass a MemoryBufferRef when we can avoid taking ownership.
|
11 years ago |
Duncan P. N. Exon Smith
|
1d8c9d95bf
BitcodeReader: Only create one basic block for each blockaddress
|
11 years ago |
Benjamin Kramer
|
00e08fcaa0
Canonicalize header guards into a common format.
|
11 years ago |
Duncan P. N. Exon Smith
|
7f2cd21ddd
BitcodeReader: Fix non-determinism in use-list order
|
11 years ago |
Duncan P. N. Exon Smith
|
147851ef9d
BitcodeReader: Change mechanics of BlockAddress forward references, NFC
|
11 years ago |
Duncan P. N. Exon Smith
|
cf8b959e8d
BitcodeReader: Fix some BlockAddress forward reference corner cases
|
11 years ago |
Rafael Espindola
|
75a9d37187
Move the bitcode error enum to the include directory.
|
11 years ago |
Duncan P. N. Exon Smith
|
bd24fe8c7e
Bitcode: Serialize (and recover) use-list order
|
11 years ago |
Rafael Espindola
|
c77a7749ff
Revert "Convert a few std::strings to StringRef."
|
11 years ago |
Rafael Espindola
|
9f72a18a50
Convert a few std::strings to StringRef.
|
11 years ago |
Rafael Espindola
|
2d1f275c99
Convert these functions to use ErrorOr.
|
11 years ago |
David Majnemer
|
c8a1169c93
IR: Add COMDATs to the IR
|
11 years ago |
Rafael Espindola
|
1f659329b6
Make ObjectFile and BitcodeReader always own the MemoryBuffer.
|
11 years ago |
Rafael Espindola
|
b2791542c2
Revert a C API difference that I incorrectly introduced.
|
11 years ago |
Rafael Espindola
|
cc21bbde87
Remove BitcodeReader::setBufferOwned.
|
11 years ago |
Rafael Espindola
|
8dfacbc003
Run clang-format in a small chunk of code I am about to change.
|
11 years ago |
Rafael Espindola
|
a20bcb9969
Remove all uses of 'using std::error_code' from headers.
|
11 years ago |
Rafael Espindola
|
5c792faa0e
Don't use 'using std::error_code' in include/llvm.
|
11 years ago |
Rafael Espindola
|
d5132f9073
Remove system_error.h.
|
11 years ago |
Rafael Espindola
|
9ee34311f3
Don't import error_category into the llvm namespace.
|
11 years ago |
Craig Topper
|
c34a25d59d
[C++] Use 'nullptr'.
|
11 years ago |
Ahmed Charles
|
f4ccd11075
Replace OwningPtr<T> with std::unique_ptr<T>.
|
11 years ago |
Chandler Carruth
|
ca7680b998
[Layering] Move GVMaterializer.h into the IR library where its
|
11 years ago |
Craig Topper
|
01394fb9e4
[C++11] Add 'override' keyword to virtual methods that override their base class.
|
11 years ago |
Chandler Carruth
|
eb3d76da81
[Modules] Move ValueHandle into the IR library where Value itself lives.
|
11 years ago |
Chandler Carruth
|
974a445bd9
Re-sort all of the includes with ./utils/sort_includes.py so that
|
11 years ago |
Rafael Espindola
|
af9e8e60ae
Use error_code in GVMaterializer.
|
11 years ago |
Rafael Espindola
|
e05744ba85
Convert FindFunctionInStream to return an error_code.
|
11 years ago |