aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2020-08-05 13:16:01 -0700
committerJordan Rupprecht <rupprecht@google.com>2020-08-05 13:16:01 -0700
commit1dbac09dd6ec8587ae7e16ed669bf73889a21957 (patch)
treebb51b9a04a7848b4d08ff6f47da9cbfda7c5b9c9 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent7d057efddc00ba7d03e6e684f23dd9b09fbd0527 (diff)
downloadllvm-1dbac09dd6ec8587ae7e16ed669bf73889a21957.zip
llvm-1dbac09dd6ec8587ae7e16ed669bf73889a21957.tar.gz
llvm-1dbac09dd6ec8587ae7e16ed669bf73889a21957.tar.bz2
[lldb/test] Support git commit version ids for clang.
`getCompilerVersion` assumes that `clang --version` prints out a string like `version [0-9\.]+`. If clang is built from trunk, the version line might look like `clang version trunk (123abc)`. Since there isn't any way of knowing by the commit id alone whether one commit is newer or older than another git commit (or clang version), assume that clang with a version id like this is very close to trunk. For example, any tests with `@skipIf(compiler="clang", compiler_version=['<', '8'])` should be run. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D85248
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions