mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-28 23:17:10 +00:00
Set missing options in LTOCodeGenerator::setTargetOptions.
Patch by Tom Roeder, I just added the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211317 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -141,6 +141,11 @@ void LTOCodeGenerator::setTargetOptions(TargetOptions options) {
|
||||
Options.TrapFuncName = options.TrapFuncName;
|
||||
Options.PositionIndependentExecutable = options.PositionIndependentExecutable;
|
||||
Options.UseInitArray = options.UseInitArray;
|
||||
Options.DataSections = options.DataSections;
|
||||
Options.FunctionSections = options.FunctionSections;
|
||||
|
||||
Options.MCOptions = options.MCOptions;
|
||||
Options.JTType = options.JTType;
|
||||
}
|
||||
|
||||
void LTOCodeGenerator::setDebugInfo(lto_debug_model debug) {
|
||||
|
Reference in New Issue
Block a user