syncqt: add some debugging to the ELF version script parsing

Drive-by fix spelling-grammar.

Pick-to: 6.5
Task-number: QTBUG-109790
Change-Id: I69ecc04064514f939896fffd1736d3bb49e73ee1
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Thiago Macieira 2023-01-03 11:45:12 -03:00
parent 1d3d7bfbbc
commit dd7931d580

View File

@ -871,6 +871,7 @@ public:
switch (m_versionScriptGeneratorState) { switch (m_versionScriptGeneratorState) {
case Ignore: case Ignore:
scannerDebug() << "line ignored: " << buffer << std::endl;
m_versionScriptGeneratorState = Active; m_versionScriptGeneratorState = Active;
return; return;
case Stopped: case Stopped:
@ -1003,8 +1004,8 @@ public:
// This regex looks for the ELFVERSION tag this is control key-word for the version script // This regex looks for the ELFVERSION tag this is control key-word for the version script
// content processing. // content processing.
// ELFVERSION tag accepts the following values: // ELFVERSION tag accepts the following values:
// - stop - stops the symbols lookup for a versino script starting from this line. // - stop - stops the symbols lookup for a version script starting from this line.
// - ignore-next - ignores the line followed but the current one. // - ignore-next - ignores the line followed by the current one.
// - ignore - ignores the current line. // - ignore - ignores the current line.
static const std::regex ElfVersionTagRegex(".*ELFVERSION:(stop|ignore-next|ignore).*"); static const std::regex ElfVersionTagRegex(".*ELFVERSION:(stop|ignore-next|ignore).*");