diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2019-05-21 21:21:35 +0000 |
---|---|---|
committer | Nick Desaulniers <ndesaulniers@google.com> | 2019-05-21 21:21:35 +0000 |
commit | 17694af9808794afa4556fa00b0b891e51043ea1 (patch) | |
tree | c4c55517c386cde72fe8995a709cbcb7044ccdec /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | df17ddf9fcb7cc7d3e38235373df5d88ed162430 (diff) | |
download | llvm-17694af9808794afa4556fa00b0b891e51043ea1.zip llvm-17694af9808794afa4556fa00b0b891e51043ea1.tar.gz llvm-17694af9808794afa4556fa00b0b891e51043ea1.tar.bz2 |
[Driver] Verify GCCInstallation is valid
Summary:
Values returned by GCCInstallation.getParentLibPath() and
GCCInstallation.getTriple() are not valid unless
GCCInstallation.isValid() returns true. This has previously been
ignored, and the former two values were used without checking whether
GCCInstallation is valid. This led to the bad path "/../bin" being added
to the list of program paths.
author: danielmentz "Daniel Mentz <danielmentz@google.com>"
Reviewers: #clang, tstellar, srhines
Reviewed By: srhines
Subscribers: danielmentz, ormris, nickdesaulniers, srhines, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D57930
llvm-svn: 361314
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions