commit | dda930c4ebce41d12ec8bc148b8189f28595deca | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Sat Sep 15 18:27:09 2018 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Sat Sep 15 18:27:09 2018 +0000 |
tree | 148a06b3e895872978be2c6217d3cf4ffa9f28f3 | |
parent | 7ccfd293dd00c270839b44930e88bf9c590c2599 [diff] |
lld-link: print demangled symbol names for "undefined symbol" diagnostics For this, add a few toString() calls when printing the "undefined symbol" diagnostics; toString() already does demangling on Windows hosts. Also make lld::demangleMSVC() (called by toString(Symbol*)) call LLVM's microsoftDemangle() instead of UnDecorateSymbolName() so that it works on non-Windows hosts – this makes both updating tests easier and provides a better user experience for people doing cross-links. This doesn't yet do the right thing for symbols starting with __imp_, but that can be improved in a follow-up. Differential Revision: https://reviews.llvm.org/D52104 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@342332 91177308-0d34-0410-b5e6-96231b3b80d8
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.