Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-03-19 15:08:17 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-03-19 15:08:17 -0400
commit2960f2d0b33cfdcd7b45adda1877706e27b52e1c (patch)
tree71e7d8e3a26f7a9b2018c84852dfb61eca957c4a /src
parent5b5055db6d2c3187c7f2d4c1f2b2627d7ac98d31 (diff)
downloadtame-2960f2d0b33cfdcd7b45adda1877706e27b52e1c.tar.gz
tame-2960f2d0b33cfdcd7b45adda1877706e27b52e1c.tar.bz2
tame-2960f2d0b33cfdcd7b45adda1877706e27b52e1c.zip
linker, summary: Reduce runlog output
Diffstat (limited to 'src')
-rw-r--r--src/current/compiler/linker.xsl36
-rw-r--r--src/current/summary.xsl5
2 files changed, 20 insertions, 21 deletions
diff --git a/src/current/compiler/linker.xsl b/src/current/compiler/linker.xsl
index f894c43..0f22cc2 100644
--- a/src/current/compiler/linker.xsl
+++ b/src/current/compiler/linker.xsl
@@ -92,14 +92,16 @@
for exit points (lv:yields); think of it like defining a main() function.
-->
<template match="lv:package[ @program='true' ]" mode="l:link" priority="5">
- <call-template name="log:info">
- <with-param name="name" select="'link'" />
- <with-param name="msg">
- <text>linking </text>
- <value-of select="@name" />
- <text>...</text>
- </with-param>
- </call-template>
+ <if test="$l:aggressive-debug">
+ <call-template name="log:info">
+ <with-param name="name" select="'link'" />
+ <with-param name="msg">
+ <text>linking </text>
+ <value-of select="@name" />
+ <text>...</text>
+ </with-param>
+ </call-template>
+ </if>
<!-- start by recursively discovering imported shared object files -->
<variable name="pre-deps" as="element( l:dep )">
@@ -1113,14 +1115,16 @@
<!-- link each of the dependencies -->
<for-each select="$symbols">
- <call-template name="log:info">
- <with-param name="name" select="'link'" />
- <with-param name="msg">
- <text>linking </text>
- <value-of select="concat( @type, ' ', @src, '/', @name )" />
- <text>...</text>
- </with-param>
- </call-template>
+ <if test="$l:aggressive-debug">
+ <call-template name="log:info">
+ <with-param name="name" select="'link'" />
+ <with-param name="msg">
+ <text>linking </text>
+ <value-of select="concat( @type, ' ', @src, '/', @name )" />
+ <text>...</text>
+ </with-param>
+ </call-template>
+ </if>
<apply-templates select="." mode="l:link-deps" />
</for-each>
diff --git a/src/current/summary.xsl b/src/current/summary.xsl
index a99eec8..62f2db0 100644
--- a/src/current/summary.xsl
+++ b/src/current/summary.xsl
@@ -1648,11 +1648,6 @@
<xsl:value-of select="$deps/@name" />
<xsl:text>'</xsl:text>
</xsl:message>
-
- <xsl:message>~~~~[begin symbol dump]~~~~</xsl:message>
- <xsl:message select="$deps" />
- <xsl:message>~~~~[end symbol dump]~~~~</xsl:message>
-
<xsl:text>?^!</xsl:text>
</xsl:when>