diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-05-26 12:01:40 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-05-26 12:01:40 +0000 |
commit | 5f5905eea8439ec32afc5337265f159e30e13440 (patch) | |
tree | 13e61115905acfcfc0f67a7519cba25ab69be46a /llvm/unittests/IR/BasicBlockTest.cpp | |
parent | e714c4f5350664bfb62b527e23fdf398a1be158b (diff) | |
download | bcm5719-llvm-5f5905eea8439ec32afc5337265f159e30e13440.tar.gz bcm5719-llvm-5f5905eea8439ec32afc5337265f159e30e13440.zip |
[ELF] - Simplify implementation of constant pool when building .gdb_index
https://sourceware.org/gdb/onlinedocs/gdb/Index-Section-Format.html says:
"A CU vector in the constant pool is a sequence of offset_type values.
The first value is the number of CU indices in the vector.
Each subsequent value is the index and symbol attributes of a CU in the CU list."
Previously we keeped 2 values until the end, what was useless.
Initially was a part of D32647, though it is possible to split out.
Patch do that.
Differential revision: https://reviews.llvm.org/D33551
llvm-svn: 303973
Diffstat (limited to 'llvm/unittests/IR/BasicBlockTest.cpp')
0 files changed, 0 insertions, 0 deletions