diff options
| author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-11-19 17:19:50 +0000 |
|---|---|---|
| committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-11-19 17:19:50 +0000 |
| commit | fe034625df03494e2bc5ac86c3656b5856cb5089 (patch) | |
| tree | f400c406bec02194558d53a38661c9dfe263587d /llvm/lib/Object/WindowsResource.cpp | |
| parent | 026a2a51529e0fd295c4947d8e9169b4a1cf9460 (diff) | |
| download | bcm5719-llvm-fe034625df03494e2bc5ac86c3656b5856cb5089.tar.gz bcm5719-llvm-fe034625df03494e2bc5ac86c3656b5856cb5089.zip | |
[llvm-nm] Fix use-after-free for MachOUniversalBinaries
MachOObjectFile::getHostArch() returns a temporary, and getArchName
returns a StringRef pointing to a temporary std::string.
No tests since it doesn't trigger any errors except with the sanitizers.
llvm-svn: 347230
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions

