diff options
| author | Igor Kudrin <ikudrin@accesssoftek.com> | 2019-08-09 08:29:03 +0000 |
|---|---|---|
| committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2019-08-09 08:29:03 +0000 |
| commit | b65016ddac32dbfbdae8e3afb292275ddf7bd1a7 (patch) | |
| tree | c0e5899b31825115c6c8f5c19f8b3b5f2cc082b0 /lld/test/ELF/Inputs | |
| parent | e1a5f668b3b517cea34b389c505264510b45ecf9 (diff) | |
| download | bcm5719-llvm-b65016ddac32dbfbdae8e3afb292275ddf7bd1a7.tar.gz bcm5719-llvm-b65016ddac32dbfbdae8e3afb292275ddf7bd1a7.zip | |
[ELF] For VS-style diagnostics, prefer printing full paths in the header.
The filename part in the message header is used by Visual Studio
to fill Error List so that a user can click on an item and jump
to the mentioned location. If we use only the name of a source file
and not the full path, Visual Studio might be unable to find the right
file or, even worse, show a wrong one.
Differential Revision: https://reviews.llvm.org/D65875
llvm-svn: 368409
Diffstat (limited to 'lld/test/ELF/Inputs')
| -rw-r--r-- | lld/test/ELF/Inputs/vs-diagnostics-duplicate3.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/test/ELF/Inputs/vs-diagnostics-duplicate3.s b/lld/test/ELF/Inputs/vs-diagnostics-duplicate3.s index 81829c82bf5..dcc458a6c5c 100644 --- a/lld/test/ELF/Inputs/vs-diagnostics-duplicate3.s +++ b/lld/test/ELF/Inputs/vs-diagnostics-duplicate3.s @@ -1,6 +1,8 @@ .file "duplicate3.s" -.global baz +.global baz, qux .text baz: nop +qux: + nop |

