Commit History

Author SHA1 Message Date
  Serge Pavlov 165fd931ac Revert r325224 "Report fatal error in the case of out of memory" 7 years ago
  Serge Pavlov ca451d02e4 Report fatal error in the case of out of memory 7 years ago
  Chandler Carruth e3e43d9d57 Sort the remaining #include lines in include/... and lib/.... 8 years ago
  Kevin Enderby 317de7ce5b Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 9 years ago
  Kevin Enderby a486dcaf36 Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 9 years ago
  Kevin Enderby 813e0cf966 Thread Expected<...> up from libObject’s getName() for symbols to allow llvm-objdump to produce a good error message. 9 years ago
  Kevin Enderby c6bf9be16d Thread Expected<...> up from createMachOObjectFile() to allow llvm-objdump to produce a real error message 9 years ago
  Rafael Espindola e84d8c12d5 Convert getSymbolSection to return an ErrorOr. 10 years ago
  Rafael Espindola c2966a3ac7 Remove getRelocationAddress. 10 years ago
  Rafael Espindola 5954faae4d Return ErrorOr from getSymbolAddress. 10 years ago
  Rafael Espindola 8a80641a85 Return ErrorOr from SymbolRef::getName. 10 years ago
  Rafael Espindola 28a83187a2 Use ErrorOr in getRelocationAdress. 10 years ago
  Rafael Espindola f8a35ff558 Don't return error_code from a function that doesn't fail. 10 years ago
  Rafael Espindola 7ede9649c1 Don't return error_code from a function that doesn't fail. 10 years ago
  Rafael Espindola ff67629985 Don't return error_code from function that never fails. 10 years ago
  Rafael Espindola 821b06f3a8 Change how symbol sizes are handled in lib/Object. 10 years ago
  Rafael Espindola 8c7a0fd91a Move to llvm-objdump a large amount of code to that is only used there. 10 years ago
  Rafael Espindola 481f35f113 Simplify another function that doesn't fail. 10 years ago
  Rafael Espindola 8175be535a Remove bogus std::error_code returns form SectionRef. 11 years ago
  Bjorn Steinbrink ea388503c4 Restore the ability to check if LLVMCreateObjectFile was successful 11 years ago
  Rafael Espindola 548f2b6e8f Don't own the buffer in object::Binary. 11 years ago
  Rafael Espindola 79002da926 Use std::unique_ptr to make the ownership explicit. 11 years ago
  Rafael Espindola b138caba43 Pass a std::unique_ptr& to the create??? methods is lib/Object. 11 years ago
  Rafael Espindola 4e2b922131 Remove 'using std::errro_code' from lib. 11 years ago
  Rafael Espindola 5c792faa0e Don't use 'using std::error_code' in include/llvm. 11 years ago
  Rafael Espindola 7426771280 Convert getFileOffset to getOffset and move it to its only user. 11 years ago
  Craig Topper 0b6cb7104b [C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. 11 years ago
  Rafael Espindola a40b3522c8 Change the begin and end methods in ObjectFile to match the style guide. 11 years ago
  Rafael Espindola efdbec8b0a Simplify the handling of iterators in ObjectFile. 11 years ago
  Rafael Espindola 825fc31bd3 Change createObjectFile to return an ErrorOr. 11 years ago