LLVM 20.0.0git
Functions | Variables
IRSymtab.cpp File Reference
#include "llvm/Object/IRSymtab.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Bitcode/BitcodeReader.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/Comdat.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/GlobalAlias.h"
#include "llvm/IR/GlobalObject.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/RuntimeLibcalls.h"
#include "llvm/MC/StringTableBuilder.h"
#include "llvm/Object/ModuleSymbolTable.h"
#include "llvm/Object/SymbolicFile.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Support/VCSRevision.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Functions

static Expected< FileContentsupgrade (ArrayRef< BitcodeModule > BMs)
 

Variables

static cl::opt< boolDisableBitcodeVersionUpgrade ("disable-bitcode-version-upgrade", cl::Hidden, cl::desc("Disable automatic bitcode upgrade for version mismatch"))
 
static const charPreservedSymbols []
 

Function Documentation

◆ upgrade()

static Expected< FileContents > upgrade ( ArrayRef< BitcodeModule BMs)
static

Variable Documentation

◆ DisableBitcodeVersionUpgrade

cl::opt< bool > DisableBitcodeVersionUpgrade("disable-bitcode-version-upgrade", cl::Hidden, cl::desc("Disable automatic bitcode upgrade for version mismatch")) ( "disable-bitcode-version-upgrade"  ,
cl::Hidden  ,
cl::desc("Disable automatic bitcode upgrade for version mismatch")   
)
static

◆ PreservedSymbols

const char* PreservedSymbols[]
static
Initial value:
= {
"__ssp_canary_word",
"__stack_chk_guard",
}

Definition at line 49 of file IRSymtab.cpp.

Referenced by computeGUIDPreservedSymbols().