diff options
| author | George Rimar <grimar@accesssoftek.com> | 2016-06-24 11:23:55 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2016-06-24 11:23:55 +0000 |
| commit | 6a7cfd039ee3cedd57d16af0a92942a5494ecb32 (patch) | |
| tree | 456a7a98a212e7184de0eed99ba0f40b9f9e13ab /clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp | |
| parent | 74f56e7de2591dc04732495be0e00ffde419c6d8 (diff) | |
| download | bcm5719-llvm-6a7cfd039ee3cedd57d16af0a92942a5494ecb32.tar.gz bcm5719-llvm-6a7cfd039ee3cedd57d16af0a92942a5494ecb32.zip | |
[ELF] - Fix incorrect logic in VersionScriptParser::parseVersion()
Previously the next sample script would generate 2 entries in
Config->SymbolVersions with the same version name.
VERSION {
global: c;
};
That happened because parseVersionSymbols() was called twice.
At first for "global:" and since there is no local tag, it was called again.
Patch fixes the issue, testcase was updated to demonstrate.
Differential revision: http://reviews.llvm.org/D21640
llvm-svn: 273663
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp')
0 files changed, 0 insertions, 0 deletions

