diff options
author | Roland Grunberg | 2018-08-20 19:46:45 +0000 |
---|---|---|
committer | Roland Grunberg | 2018-08-20 20:24:45 +0000 |
commit | bde40588d98aaea7407173a507aba9a800cdc5cd (patch) | |
tree | a409dc06077b7aba7a1fccdb41c1bac0699a2eda | |
parent | a0b63daa3e6eb807c45bc31297b69f0ad86a5d3c (diff) | |
download | org.eclipse.linuxtools-bde40588d98aaea7407173a507aba9a800cdc5cd.tar.gz org.eclipse.linuxtools-bde40588d98aaea7407173a507aba9a800cdc5cd.tar.xz org.eclipse.linuxtools-bde40588d98aaea7407173a507aba9a800cdc5cd.zip |
Bug 535611 - Adjust 8.1.0 version string to include compatible releases.
Change-Id: If7d198d673a5c7c7da8bc42c6f39939ccc859540
Reviewed-on: https://git.eclipse.org/r/127727
Tested-by: CI Bot
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
-rw-r--r-- | gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/GcnoRecordsParser.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/GcnoRecordsParser.java b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/GcnoRecordsParser.java index f137bfdb09..8a09115ab9 100644 --- a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/GcnoRecordsParser.java +++ b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/GcnoRecordsParser.java @@ -37,7 +37,7 @@ public class GcnoRecordsParser { private static final int GCOV_TAG_ARCS = 0x01430000; private static final int GCOV_TAG_LINES = 0x01450000; - private static final int GCC_VER_810R = 1094201682; // GCC 8.1.0 Release + private static final int GCC_VER_810 = 1094201642; // GCC 8.1.0 ('A81*') private static final int GCC_VER_407 = 875575082; // GCC 4.0.7 private GcnoFunction fnctn = null; @@ -125,13 +125,13 @@ public class GcnoRecordsParser { stream.readInt(); } String fnctnName = GcovStringReader.readString(stream); - if (version >= GCC_VER_810R) { + if (version >= GCC_VER_810) { // long artificial = (stream.readInt() & MasksGenerator.UNSIGNED_INT_MASK); stream.readInt(); } String fnctnSrcFle = GcovStringReader.readString(stream); long fnctnFrstLnNmbr = (stream.readInt() & MasksGenerator.UNSIGNED_INT_MASK); - if (version >= GCC_VER_810R) { + if (version >= GCC_VER_810) { // long fnctnFrstColumnLnNmbr = (stream.readInt() & MasksGenerator.UNSIGNED_INT_MASK); stream.readInt(); // long fnctnLastLnNmbr = (stream.readInt() & MasksGenerator.UNSIGNED_INT_MASK); @@ -149,13 +149,13 @@ public class GcnoRecordsParser { } else if (tag == GCOV_TAG_BLOCKS) { - if (version >= GCC_VER_810R) { + if (version >= GCC_VER_810) { length = stream.readInt(); } blocks = new ArrayList<>(); Block blck; for (int i = 0; i < length; i++) { - if (version >= GCC_VER_810R) { + if (version >= GCC_VER_810) { blck = new Block(0); // value not used anywhere } else { long BlckFlag = stream.readInt() & MasksGenerator.UNSIGNED_INT_MASK; |