LLVM
8.0.1
|
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include <unistd.h>
Go to the source code of this file.
Functions | |
template<size_t N> | |
static bool | startswith (StringRef Magic, const char(&S)[N]) |
Definition at line 30 of file Magic.cpp.
References llvm::StringRef::startswith().
Referenced by llvm::AsmLexer::AsmLexer(), llvm::opt::OptTable::findByPrefix(), llvm::sys::detail::getHostCPUNameForARM(), llvm::sys::detail::getHostCPUNameForS390x(), llvm::sys::getHostNumPhysicalCores(), llvm::identify_magic(), llvm::Triple::normalize(), and llvm::pruneCache().