LLVM 19.0.0git
Classes | Namespaces | Enumerations | Functions
RecordSerialization.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/CodeViewError.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include <cinttypes>

Go to the source code of this file.


struct  llvm::codeview::RecordPrefix
struct  llvm::codeview::serialize_conditional_impl< T, U >
struct  llvm::codeview::serialize_array_impl< T, U >
struct  llvm::codeview::serialize_vector_tail_impl< T >
struct  llvm::codeview::serialize_null_term_string_array_impl
struct  llvm::codeview::serialize_arrayref_tail_impl< T >
struct  llvm::codeview::serialize_numeric_impl< T >


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::codeview


enum  : unsigned { llvm::codeview::MaxRecordLength = 0xFF00 }
 Limit on the size of all codeview symbol and type records, including the RecordPrefix. More...


StringRef llvm::codeview::getBytesAsCharacters (ArrayRef< uint8_t > LeafData)
 Reinterpret a byte array as an array of characters.
StringRef llvm::codeview::getBytesAsCString (ArrayRef< uint8_t > LeafData)
Error llvm::codeview::consume (BinaryStreamReader &Reader)
Error llvm::codeview::consume (BinaryStreamReader &Reader, APSInt &Num)
 Decodes a numeric "leaf" value.
Error llvm::codeview::consume_numeric (BinaryStreamReader &Reader, uint64_t &Value)
 Decodes a numeric leaf value that is known to be a particular type.
Error llvm::codeview::consume (BinaryStreamReader &Reader, uint32_t &Item)
 Decodes signed and unsigned fixed-length integers.
Error llvm::codeview::consume (BinaryStreamReader &Reader, int32_t &Item)
Error llvm::codeview::consume (BinaryStreamReader &Reader, StringRef &Item)
 Decodes a null terminated string.
Error llvm::codeview::consume (StringRef &Data, APSInt &Num)
Error llvm::codeview::consume (StringRef &Data, uint32_t &Item)
template<typename T >
Error llvm::codeview::consume (BinaryStreamReader &Reader, T *&Item)
 Decodes an arbitrary object whose layout matches that of the underlying byte sequence, and returns a pointer to the object.
template<typename T , typename U >
serialize_conditional_impl< T, U > llvm::codeview::serialize_conditional (T &Item, U Func)
template<typename T , typename U >
serialize_array_impl< T, U > llvm::codeview::serialize_array (ArrayRef< T > &Item, U Func)
serialize_null_term_string_array_impl llvm::codeview::serialize_null_term_string_array (std::vector< StringRef > &Item)
template<typename T >
serialize_vector_tail_impl< Tllvm::codeview::serialize_array_tail (std::vector< T > &Item)
template<typename T >
serialize_arrayref_tail_impl< Tllvm::codeview::serialize_array_tail (ArrayRef< T > &Item)
template<typename T >
serialize_numeric_impl< Tllvm::codeview::serialize_numeric (T &Item)
template<typename T , typename U >
Error llvm::codeview::consume (BinaryStreamReader &Reader, const serialize_conditional_impl< T, U > &Item)
template<typename T , typename U >
Error llvm::codeview::consume (BinaryStreamReader &Reader, const serialize_array_impl< T, U > &Item)
Error llvm::codeview::consume (BinaryStreamReader &Reader, const serialize_null_term_string_array_impl &Item)
template<typename T >
Error llvm::codeview::consume (BinaryStreamReader &Reader, const serialize_vector_tail_impl< T > &Item)
template<typename T >
Error llvm::codeview::consume (BinaryStreamReader &Reader, const serialize_arrayref_tail_impl< T > &Item)
template<typename T >
Error llvm::codeview::consume (BinaryStreamReader &Reader, const serialize_numeric_impl< T > &Item)
template<typename T , typename U , typename... Args>
Error llvm::codeview::consume (BinaryStreamReader &Reader, T &&X, U &&Y, Args &&... Rest)