diff options
author | Anton Afanasyev <anton.a.afanasyev@gmail.com> | 2021-08-26 01:25:27 +0300 |
---|---|---|
committer | Anton Afanasyev <anton.a.afanasyev@gmail.com> | 2021-08-30 12:23:21 +0300 |
commit | b1b68b4c0190b7fc7f0ebe823277966056b39494 (patch) | |
tree | 1e8c1728269b40bd7f6c0574d3b46dcbee013cab /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 9db95a67d14c918371234e5c98263a977835e19f (diff) | |
download | llvm-b1b68b4c0190b7fc7f0ebe823277966056b39494.zip llvm-b1b68b4c0190b7fc7f0ebe823277966056b39494.tar.gz llvm-b1b68b4c0190b7fc7f0ebe823277966056b39494.tar.bz2 |
[CMake] Add `--gdb-index` option to linker if split dwarf compiling
The option `--gdb-index` should be passed to linker if compiler is invoked
with `-gsplit-dwarf` option. This allows debugger to locate the appropriate
units quickly. See "Invocation" section here: https://gcc.gnu.org/wiki/DebugFission
Suggested by @dblaikie here: https://reviews.llvm.org/D68556#1698442
Differential Revision: https://reviews.llvm.org/D108776
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions