aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2018-08-07 20:54:38 +0000
committerStella Stamenova <stilis@microsoft.com>2018-08-07 20:54:38 +0000
commit8efc95ac2f4be2d7a2b671e734288d6f9dfb8c5c (patch)
treea6c1b757b029fff96851540b31ef99755b315269 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent65bd2f6c85f64ca46c193bcf55925538356a79a8 (diff)
downloadllvm-8efc95ac2f4be2d7a2b671e734288d6f9dfb8c5c.zip
llvm-8efc95ac2f4be2d7a2b671e734288d6f9dfb8c5c.tar.gz
llvm-8efc95ac2f4be2d7a2b671e734288d6f9dfb8c5c.tar.bz2
[lit, python3] Update lit error logging to work correctly in python3 and other test fixes
Summary: In Python2 'unicode' is a distinct type from 'str', but in Python3 'unicode' does not exist and instead all 'str' objects are Unicode string. This change updates the logic in the test logging for lit to correctly process each of the types, and more importantly, to not just fail in Python3. This change also reverses the use of quotes in several of the cfg files. By using '""' we are guaranteeing that the resulting path will work correctly on Windows while "''" only works correctly sometimes. This also fixes one of the failing tests. Reviewers: asmith, zturner Subscribers: stella.stamenova, delcypher, llvm-commits Differential Revision: https://reviews.llvm.org/D50397 llvm-svn: 339179
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions