mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Only pass output filename and main input file name for debugging into IRGenModule constructor.
This commit is contained in:
@@ -68,9 +68,8 @@ private:
|
||||
: SILMod(SILModule::createEmptyModule(module, SILOpts)),
|
||||
IRGen(IROpts, *SILMod),
|
||||
IGM(IRGen, IRGen.createTargetMachine(), /*SourceFile*/ nullptr,
|
||||
LLVMContext, "<fake module name>",
|
||||
PrimarySpecificPaths("<fake output filename>",
|
||||
"<fake main input filename>")) {}
|
||||
LLVMContext, "<fake module name>", "<fake output filename>",
|
||||
"<fake main input filename>") {}
|
||||
|
||||
public:
|
||||
static std::unique_ptr<IRGenContext>
|
||||
|
||||
Reference in New Issue
Block a user