diff options
| author | Fangrui Song <maskray@google.com> | 2020-03-10 15:41:57 -0700 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2020-03-12 08:00:18 -0700 |
| commit | eb4b5a36a6331a0de3559a01e6854895cacce6b3 (patch) | |
| tree | 913c5be89e864750b184567009a46331452023cb /llvm/tools/llvm-rc/ResourceScriptParser.cpp | |
| parent | 7c2b3c9dda37ab25a6849a3670f1bfda6aa17e5e (diff) | |
| download | llvm-eb4b5a36a6331a0de3559a01e6854895cacce6b3.zip llvm-eb4b5a36a6331a0de3559a01e6854895cacce6b3.tar.gz llvm-eb4b5a36a6331a0de3559a01e6854895cacce6b3.tar.bz2 | |
[ELF] Move --print-map(-M)/--cref before checkSections() and openFile()
-M output can be useful when diagnosing an "error: output file too large" problem (emitted in openFile()).
I just ran into such a situation where I had to debug an erronerous
Linux kernel linker script. It tried to create a file larger than
INT64_MAX bytes.
This patch could have helped https://bugs.llvm.org/show_bug.cgi?id=44715 as well.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D75966
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions
