summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ARMBuildAttrs.cpp
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2018-04-21 23:52:04 +0000
committerBrian Gesiak <modocache@gmail.com>2018-04-21 23:52:04 +0000
commitb13588982fc3cd859e0acd20dd606be634dcdb51 (patch)
tree6ecc309778cfcd33ee5bb42c8107a079ff13e995 /llvm/lib/Support/ARMBuildAttrs.cpp
parente6bfb2c71deccc27cd209536189a3b4410b74f6b (diff)
downloadbcm5719-llvm-b13588982fc3cd859e0acd20dd606be634dcdb51.tar.gz
bcm5719-llvm-b13588982fc3cd859e0acd20dd606be634dcdb51.zip
[bcanalyzer] Recognize more stream types
Summary: `llvm-bcanalyzer` prints out the stream type of the file it is analyzing. If the file begins with the LLVM IR magic number, it reports a stream type of "LLVM IR". However, any other bitstream format is reported as "unknown". Add some checks for two other common bitstream formats: Clang AST files, which begin with 'CPCH', and Clang serialized diagnostics, which begin with 'DIAG'. Test Plan: `check-llvm` Reviewers: pcc, aprantl, mehdi_amini, davide, george.karpenkov, JDevlieghere Reviewed By: JDevlieghere Subscribers: JDevlieghere, bruno, davide, llvm-commits Differential Revision: https://reviews.llvm.org/D41979 llvm-svn: 330529
Diffstat (limited to 'llvm/lib/Support/ARMBuildAttrs.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud