mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Remove obsolete comments about throwing exceptions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -297,7 +297,7 @@ class Archive {
|
|||||||
/// its symbol table without reading in any of the archive's members. This
|
/// its symbol table without reading in any of the archive's members. This
|
||||||
/// reduces both I/O and cpu time in opening the archive if it is to be used
|
/// reduces both I/O and cpu time in opening the archive if it is to be used
|
||||||
/// solely for symbol lookup (e.g. during linking). The \p Filename must
|
/// solely for symbol lookup (e.g. during linking). The \p Filename must
|
||||||
/// exist and be an archive file or an exception will be thrown. This form
|
/// exist and be an archive file or an error will be returned. This form
|
||||||
/// of opening the archive is intended for read-only operations that need to
|
/// of opening the archive is intended for read-only operations that need to
|
||||||
/// locate members via the symbol table for link editing. Since the archve
|
/// locate members via the symbol table for link editing. Since the archve
|
||||||
/// members are not read by this method, the archive will appear empty upon
|
/// members are not read by this method, the archive will appear empty upon
|
||||||
@@ -306,8 +306,7 @@ class Archive {
|
|||||||
/// if this form of opening the archive is used that only the symbol table
|
/// if this form of opening the archive is used that only the symbol table
|
||||||
/// lookup methods (getSymbolTable, findModuleDefiningSymbol, and
|
/// lookup methods (getSymbolTable, findModuleDefiningSymbol, and
|
||||||
/// findModulesDefiningSymbols) be used.
|
/// findModulesDefiningSymbols) be used.
|
||||||
/// @throws std::string if an error occurs opening the file
|
/// @returns an Archive* that represents the archive file, or null on error.
|
||||||
/// @returns an Archive* that represents the archive file.
|
|
||||||
/// @brief Open an existing archive and load its symbols.
|
/// @brief Open an existing archive and load its symbols.
|
||||||
static Archive* OpenAndLoadSymbols(
|
static Archive* OpenAndLoadSymbols(
|
||||||
const sys::Path& Filename, ///< Name of the archive file to open
|
const sys::Path& Filename, ///< Name of the archive file to open
|
||||||
@@ -319,7 +318,6 @@ class Archive {
|
|||||||
/// closes files. It does nothing with the archive file on disk. If you
|
/// closes files. It does nothing with the archive file on disk. If you
|
||||||
/// haven't used the writeToDisk method by the time the destructor is
|
/// haven't used the writeToDisk method by the time the destructor is
|
||||||
/// called, all changes to the archive will be lost.
|
/// called, all changes to the archive will be lost.
|
||||||
/// @throws std::string if an error occurs
|
|
||||||
/// @brief Destruct in-memory archive
|
/// @brief Destruct in-memory archive
|
||||||
~Archive();
|
~Archive();
|
||||||
|
|
||||||
|
@@ -158,7 +158,6 @@ class Linker {
|
|||||||
/// @returns true if an error occurred, false otherwise
|
/// @returns true if an error occurred, false otherwise
|
||||||
/// @see LinkItemKind
|
/// @see LinkItemKind
|
||||||
/// @see getLastError
|
/// @see getLastError
|
||||||
/// @throws nothing
|
|
||||||
bool LinkInItems (
|
bool LinkInItems (
|
||||||
const ItemList& Items, ///< Set of libraries/files to link in
|
const ItemList& Items, ///< Set of libraries/files to link in
|
||||||
ItemList& NativeItems ///< Output list of native files/libs
|
ItemList& NativeItems ///< Output list of native files/libs
|
||||||
|
@@ -73,7 +73,7 @@ namespace llvm {
|
|||||||
///
|
///
|
||||||
/// TypeBuilder cannot handle recursive types or types you only know at runtime.
|
/// TypeBuilder cannot handle recursive types or types you only know at runtime.
|
||||||
/// If you try to give it a recursive type, it will deadlock, infinitely
|
/// If you try to give it a recursive type, it will deadlock, infinitely
|
||||||
/// recurse, or throw a recursive_init exception.
|
/// recurse, or do something similarly undesirable.
|
||||||
template<typename T, bool cross_compilable> class TypeBuilder {};
|
template<typename T, bool cross_compilable> class TypeBuilder {};
|
||||||
|
|
||||||
// Types for use with cross-compilable TypeBuilders. These correspond
|
// Types for use with cross-compilable TypeBuilders. These correspond
|
||||||
|
@@ -63,7 +63,6 @@ namespace sys {
|
|||||||
///
|
///
|
||||||
/// On success, this returns false, otherwise it returns true and fills
|
/// On success, this returns false, otherwise it returns true and fills
|
||||||
/// in *ErrMsg.
|
/// in *ErrMsg.
|
||||||
/// @throws std::string if an error occurred.
|
|
||||||
/// @brief Release Read/Write/Execute memory.
|
/// @brief Release Read/Write/Execute memory.
|
||||||
static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = 0);
|
static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = 0);
|
||||||
|
|
||||||
|
@@ -30,7 +30,6 @@ namespace sys {
|
|||||||
/// This static function will return the operating system's virtual memory
|
/// This static function will return the operating system's virtual memory
|
||||||
/// page size.
|
/// page size.
|
||||||
/// @returns The number of bytes in a virtual memory page.
|
/// @returns The number of bytes in a virtual memory page.
|
||||||
/// @throws nothing
|
|
||||||
/// @brief Get the virtual memory page size
|
/// @brief Get the virtual memory page size
|
||||||
static unsigned GetPageSize();
|
static unsigned GetPageSize();
|
||||||
|
|
||||||
@@ -38,7 +37,6 @@ namespace sys {
|
|||||||
/// by the process. This only counts the memory allocated via the malloc,
|
/// by the process. This only counts the memory allocated via the malloc,
|
||||||
/// calloc and realloc functions and includes any "free" holes in the
|
/// calloc and realloc functions and includes any "free" holes in the
|
||||||
/// allocated space.
|
/// allocated space.
|
||||||
/// @throws nothing
|
|
||||||
/// @brief Return process memory usage.
|
/// @brief Return process memory usage.
|
||||||
static size_t GetMallocUsage();
|
static size_t GetMallocUsage();
|
||||||
|
|
||||||
|
@@ -116,7 +116,6 @@ namespace sys {
|
|||||||
/// locations to search (e.g. the PATH on Unix).
|
/// locations to search (e.g. the PATH on Unix).
|
||||||
/// @returns A Path object initialized to the path of the program or a
|
/// @returns A Path object initialized to the path of the program or a
|
||||||
/// Path object that is empty (invalid) if the program could not be found.
|
/// Path object that is empty (invalid) if the program could not be found.
|
||||||
/// @throws nothing
|
|
||||||
/// @brief Construct a Program by finding it by name.
|
/// @brief Construct a Program by finding it by name.
|
||||||
static Path FindProgramByName(const std::string& name);
|
static Path FindProgramByName(const std::string& name);
|
||||||
|
|
||||||
@@ -129,7 +128,6 @@ namespace sys {
|
|||||||
|
|
||||||
/// A convenience function equivalent to Program prg; prg.Execute(..);
|
/// A convenience function equivalent to Program prg; prg.Execute(..);
|
||||||
/// prg.Wait(..);
|
/// prg.Wait(..);
|
||||||
/// @throws nothing
|
|
||||||
/// @see Execute, Wait
|
/// @see Execute, Wait
|
||||||
static int ExecuteAndWait(const Path& path,
|
static int ExecuteAndWait(const Path& path,
|
||||||
const char** args,
|
const char** args,
|
||||||
@@ -140,7 +138,6 @@ namespace sys {
|
|||||||
std::string* ErrMsg = 0);
|
std::string* ErrMsg = 0);
|
||||||
|
|
||||||
/// A convenience function equivalent to Program prg; prg.Execute(..);
|
/// A convenience function equivalent to Program prg; prg.Execute(..);
|
||||||
/// @throws nothing
|
|
||||||
/// @see Execute
|
/// @see Execute
|
||||||
static void ExecuteNoWait(const Path& path,
|
static void ExecuteNoWait(const Path& path,
|
||||||
const char** args,
|
const char** args,
|
||||||
|
Reference in New Issue
Block a user