aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/raw_pdb/src/PDB.h
blob: 3f17f9f1b8a71322633f232748f5536d685fb067 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2011-2022, Molecular Matters GmbH <[email protected]>
// See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause)

#pragma once

#include "Foundation/PDB_Macros.h"
#include "PDB_ErrorCodes.h"


// https://llvm.org/docs/PDB/index.html
namespace PDB
{
	class RawFile;


	// Validates whether a PDB file is valid.
	PDB_NO_DISCARD ErrorCode ValidateFile(const void* data, size_t size) PDB_NO_EXCEPT;

	// Creates a raw PDB file that must have been validated.
	PDB_NO_DISCARD RawFile CreateRawFile(const void* data) PDB_NO_EXCEPT;
}