diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-02-10 08:35:38 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-02-10 08:35:38 +0000 |
commit | 5cb317315cb7bf96cfa6a0300f9ba6f9188c7f2a (patch) | |
tree | 137cb071e2b69f9ddca0dd55ccfb8efac84ad63c /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 9ac13a12443b24e877e2b2cee128bdd41e3d67c8 (diff) | |
download | bcm5719-llvm-5cb317315cb7bf96cfa6a0300f9ba6f9188c7f2a.tar.gz bcm5719-llvm-5cb317315cb7bf96cfa6a0300f9ba6f9188c7f2a.zip |
[yaml2obj] - Fix .dynamic section entries writing for 32bit targets.
This was introduced by me in r353613.
I tried to fix Big-endian bot and replaced
uintX_t -> ELFT::Xword. But ELFT::Xword is a packed<uint64_t>,
so it is always 8 bytes and that was obviously incorrect.
My intention was to use something like packed<uint> actually, which
size is target dependent.
Patch fixes this bug and adds a test case, since no bots seems reported this.
llvm-svn: 353636
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions