Remove current code for embedding command-line args in PDB
This commit is contained in:
parent
f46475914d
commit
98c95c966b
19 changed files with 1 additions and 162 deletions
|
|
@ -271,9 +271,7 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
|
|||
bool TrapUnreachable, bool Singlethread, bool VerboseAsm,
|
||||
bool EmitStackSizeSection, bool RelaxELFRelocations, bool UseInitArray,
|
||||
const char *SplitDwarfFile, const char *OutputObjFile,
|
||||
const char *DebugInfoCompression, bool UseEmulatedTls, const char *Argv0,
|
||||
size_t Argv0Len, const char *CommandLineArgs, size_t CommandLineArgsLen,
|
||||
bool UseWasmEH) {
|
||||
const char *DebugInfoCompression, bool UseEmulatedTls, bool UseWasmEH) {
|
||||
|
||||
auto OptLevel = fromRust(RustOptLevel);
|
||||
auto RM = fromRust(RustReloc);
|
||||
|
|
@ -348,11 +346,6 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
|
|||
|
||||
Options.EmitStackSizeSection = EmitStackSizeSection;
|
||||
|
||||
if (Argv0 != nullptr)
|
||||
Options.MCOptions.Argv0 = {Argv0, Argv0Len};
|
||||
if (CommandLineArgs != nullptr)
|
||||
Options.MCOptions.CommandlineArgs = {CommandLineArgs, CommandLineArgsLen};
|
||||
|
||||
#if LLVM_VERSION_GE(21, 0)
|
||||
TargetMachine *TM = TheTarget->createTargetMachine(Trip, CPU, Feature,
|
||||
Options, RM, CM, OptLevel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue