|
LLVM 24.0.0git
|
#include "DirectX.h"#include "llvm/ADT/ScopeExit.h"#include "llvm/ADT/StringSet.h"#include "llvm/BinaryFormat/DXContainer.h"#include "llvm/DebugInfo/CodeView/GUID.h"#include "llvm/DebugInfo/MSF/MSFBuilder.h"#include "llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h"#include "llvm/DebugInfo/PDB/Native/PDBFileBuilder.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Module.h"#include "llvm/MC/MCDXContainerWriter.h"#include "llvm/Pass.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/IOSandbox.h"#include "llvm/Transforms/Utils/ModuleUtils.h"Go to the source code of this file.
Functions | |
| static StringRef | getGlobalData (const GlobalVariable &GV) |
| static GlobalVariable * | createPrivateDataGlobal (Module &M, StringRef Data) |
Variables | |
| cl::opt< bool > | PdbInPrivate |
|
static |
Definition at line 94 of file DXContainerPDB.cpp.
References llvm::Data, llvm::ConstantDataArray::getString(), llvm::Value::getType(), and llvm::GlobalValue::PrivateLinkage.
|
static |
Definition at line 70 of file DXContainerPDB.cpp.
References llvm::Data, llvm::dyn_cast(), llvm::GlobalVariable::getInitializer(), and llvm::GlobalVariable::hasInitializer().