aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-03-10 15:41:57 -0700
committerFangrui Song <maskray@google.com>2020-03-12 08:00:18 -0700
commiteb4b5a36a6331a0de3559a01e6854895cacce6b3 (patch)
tree913c5be89e864750b184567009a46331452023cb /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent7c2b3c9dda37ab25a6849a3670f1bfda6aa17e5e (diff)
downloadllvm-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