LLVM 20.0.0git
Classes | Namespaces | Enumerations | Functions
Error.h File Reference
#include "llvm/Support/Error.h"
#include <system_error>

Go to the source code of this file.

Classes

class  llvm::object::BinaryError
 Base class for all errors indicating malformed binary files. More...
 
class  llvm::object::GenericBinaryError
 Generic binary error. More...
 
struct  std::is_error_code_enum< llvm::object::object_error >
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::object
 
namespace  std
 Implement std::hash so that hash_code can be used in STL containers.
 

Enumerations

enum class  llvm::object::object_error {
  llvm::object::arch_not_found = 1 , llvm::object::invalid_file_type , llvm::object::parse_failed , llvm::object::unexpected_eof ,
  llvm::object::string_table_non_null_end , llvm::object::invalid_section_index , llvm::object::bitcode_section_not_found , llvm::object::invalid_symbol_index ,
  llvm::object::section_stripped
}
 

Functions

const std::error_category & llvm::object::object_category ()
 
std::error_code llvm::object::make_error_code (object_error e)
 
Error llvm::object::isNotObjectErrorInvalidFileType (llvm::Error Err)
 isNotObjectErrorInvalidFileType() is used when looping through the children of an archive after calling getAsBinary() on the child and it returns an llvm::Error.
 
Error llvm::object::createError (const Twine &Err)