llvm.org GIT mirror llvm / 64d5b28
Apply the scope restrictions after parsing the command line options. There may be some which are used in that function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154348 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
346346 if ( this->determineTarget(errMsg) )
347347 return true;
348348
349 // mark which symbols can not be internalized
350 this->applyScopeRestrictions();
351
352349 Module* mergedModule = _linker.getModule();
353350
354351 // if options were requested, set them
355352 if ( !_codegenOptions.empty() )
356353 cl::ParseCommandLineOptions(_codegenOptions.size(),
357354 const_cast(&_codegenOptions[0]));
355
356 // mark which symbols can not be internalized
357 this->applyScopeRestrictions();
358358
359359 // Instantiate the pass manager to organize the passes.
360360 PassManager passes;