llvm-project/llvm/tools/llvm-config
Richard Diamond a62513c5dc Fix a use-after-free in `llvm-config`.
Summary:
This could happen if `GetComponentNames` is true, because `Name` from
`VisitComponent` would reference a stack instance of `std::string` in
`ComputeLibsForComponents`.

Reviewers: beanz

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D14913

llvm-svn: 254108
2015-11-25 22:49:48 +00:00
..
BuildVariables.inc.in Fix `llvm-config` to adapt to the install environment. 2015-11-09 23:15:38 +00:00
CMakeLists.txt Fix `llvm-config` to adapt to the install environment. 2015-11-09 23:15:38 +00:00
Makefile Fix `llvm-config` to adapt to the install environment. 2015-11-09 23:15:38 +00:00
llvm-config.cpp Fix a use-after-free in `llvm-config`. 2015-11-25 22:49:48 +00:00