syncqt: add some debugging to the ELF version script parsing

Drive-by fix spelling-grammar.

Task-number: QTBUG-109790
Change-Id: I69ecc04064514f939896fffd1736d3bb49e73ee1
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit dd7931d580de2d2af5411e0621a61af7345f188b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Thiago Macieira 2023-01-03 11:45:12 -03:00 committed by Qt Cherry-pick Bot
parent 0c10be1859
commit 4ed94a237d

View File

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