void SetSpanType (Span* S, const StrBuf* Type)
/* Set the generic type of the span to Type */
-{
- S->Type = GetStrBufId (Type);
+{
+ /* Ignore the call if we won't generate debug infos */
+ if (DbgSyms) {
+ S->Type = GetStrBufId (Type);
+ }
}
return 0;
}
-
+
void WriteSpans (void)
/* Write all spans to the object file */
/* Done writing the spans */
ObjEndSpans ();
}
-
-
-
-