diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-12-25 09:41:00 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-12-25 09:41:00 +0000 |
commit | 18e6a788fb156993fc42d22b3e29d49afbf7fa81 (patch) | |
tree | a70a0d3f148a105b5c40797dc991a3499f00f235 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | ddb096853d008b54788eb427dd1d56387996f00a (diff) | |
download | llvm-18e6a788fb156993fc42d22b3e29d49afbf7fa81.zip llvm-18e6a788fb156993fc42d22b3e29d49afbf7fa81.tar.gz llvm-18e6a788fb156993fc42d22b3e29d49afbf7fa81.tar.bz2 |
[MC] - Disallow invalid section groups declarations.
This fixes parseGroup() so that it always sets error condition on error.
Previously it was not done, because parseIdentifier looks never do that,
assuming that caller should do it if he wants to.
So previously cases from test were silently accepted and produced broken output.
Differential revision: https://reviews.llvm.org/D41559
llvm-svn: 321439
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions