diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-12-05 11:09:10 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-12-05 11:09:10 +0000 |
commit | ab090337c5f1cae5bbfc25534497f65e06c35e2d (patch) | |
tree | 32e78fe95f16f9d280acf41a0e18668e473d5cd4 /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
parent | a3d0d5fe6861c350a7571c16a0870311a6dc7bc8 (diff) | |
download | bcm5719-llvm-ab090337c5f1cae5bbfc25534497f65e06c35e2d.tar.gz bcm5719-llvm-ab090337c5f1cae5bbfc25534497f65e06c35e2d.zip |
[clang] - Simplify tools::SplitDebugName.
This is an updated version of the D54576, which was reverted.
Problem was that SplitDebugName calls the InputInfo::getFilename
which asserts if InputInfo given is not of type Filename:
const char *getFilename() const {
assert(isFilename() && "Invalid accessor.");
return Data.Filename;
}
At the same time at that point, it can be of type Nothing and
we need to use getBaseInput(), like original code did.
Differential revision: https://reviews.llvm.org/D55006
llvm-svn: 348352
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions