LLVM 24.0.0git
SymbolicFile.cpp
Go to the documentation of this file.
1//===- SymbolicFile.cpp - Interface that only provides symbols ------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines a file format independent SymbolicFile class.
10//
11//===----------------------------------------------------------------------===//
12
14
15using namespace llvm;
16using namespace object;
17
19 : Binary(Type, Source) {}
20
22
This is an important class for using LLVM in a threaded context.
Definition LLVMContext.h:68
The instances of the Type class are immutable: once they are created, they are never changed.
Definition Type.h:46
Binary(unsigned int Type, MemoryBufferRef Source)
Definition Binary.cpp:20
SymbolicFile(unsigned int Type, MemoryBufferRef Source)
static bool isSymbolicFile(file_magic Type, const LLVMContext *Context)
This is an optimization pass for GlobalISel generic memory operations.
file_magic - An "enum class" enumeration of file types based on magic (the first N bytes of the file)...
Definition Magic.h:21
@ coff_import_library
COFF import library.
Definition Magic.h:49
@ elf_relocatable
ELF Relocatable object file.
Definition Magic.h:28
@ elf_shared_object
ELF dynamically linked shared lib.
Definition Magic.h:30
@ goff_object
GOFF object file.
Definition Magic.h:32
@ macho_dynamically_linked_shared_lib
Mach-O dynlinked shared lib.
Definition Magic.h:38
@ xcoff_object_64
64-bit XCOFF object file
Definition Magic.h:53
@ elf_executable
ELF Executable image.
Definition Magic.h:29
@ macho_dynamically_linked_shared_lib_stub
Mach-O Shared lib stub.
Definition Magic.h:41
@ macho_preload_executable
Mach-O Preloaded Executable.
Definition Magic.h:37
@ macho_file_set
Mach-O file set binary.
Definition Magic.h:45
@ dxcontainer_object
DirectX container file.
Definition Magic.h:59
@ macho_kext_bundle
Mach-O kext bundle file.
Definition Magic.h:43
@ pecoff_executable
PECOFF executable file.
Definition Magic.h:50
@ bitcode
Bitcode file.
Definition Magic.h:24
@ macho_core
Mach-O Core File.
Definition Magic.h:36
@ wasm_object
WebAssembly Object file.
Definition Magic.h:54
@ xcoff_object_32
32-bit XCOFF object file
Definition Magic.h:52
@ elf_core
ELF core image.
Definition Magic.h:31
@ macho_object
Mach-O Object file.
Definition Magic.h:33
@ coff_object
COFF object file.
Definition Magic.h:48
@ elf
ELF Unknown type.
Definition Magic.h:27
@ macho_bundle
Mach-O Bundle file.
Definition Magic.h:40
@ macho_executable
Mach-O Executable.
Definition Magic.h:34
@ macho_dsym_companion
Mach-O dSYM companion file.
Definition Magic.h:42
@ macho_fixed_virtual_memory_shared_lib
Mach-O Shared Lib, FVM.
Definition Magic.h:35
@ macho_dynamic_linker
The Mach-O dynamic linker.
Definition Magic.h:39