File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -447,6 +447,7 @@ sub parseOpts {
447
447
for GCC.
448
448
{ RV_Kcc::Opts::pushArg('cppArgs', "-d$chars"); }
449
449
-ftranslation-depth=<depth> Compile program up to a given depth. [undocumented]
450
+ -flinking-depth=<depth> Link program up to a given depth. [undocumented]
450
451
-fmessage-length=0 Write all error messages on a single line.
451
452
-frunner-script Compile program to perl script with analysis tool options. [undocumented]
452
453
-fissue-report=<file> Write issues to the specified file.
Original file line number Diff line number Diff line change @@ -454,6 +454,11 @@ sub getLinkingCommand {
454
454
455
455
my @krun = getKRunCommand($output , ' c-cpp-linking-kompiled' );
456
456
457
+ if (arg(' -flinking-depth=' )) {
458
+ push (@krun , ' --depth' );
459
+ push (@krun , arg(' -flinking-depth=' ));
460
+ }
461
+
457
462
my ($rvErrorJson , $string ) = (getRVErrorJson(), QUOTE_STRING);
458
463
my $json = " \\ dv{SortString{}}($rvErrorJson )" ;
459
464
You can’t perform that action at this time.
0 commit comments