| commit | 29ccdd8207ed09e7fb93d4c8fd415502f52dc9a3 | [log] [tgz] |
|---|---|---|
| author | NAKAMURA Takumi <geek4civic@gmail.com> | Fri Oct 28 14:12:22 2011 +0000 |
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | Fri Oct 28 14:12:22 2011 +0000 |
| tree | be3556ba32a9b84a508a1a871b1f0222b8725be2 | |
| parent | f1b4e0052f7e7cbbc02c42825abfbb368c3c209f [diff] |
Dwarf: [PR11022] Fix emitting DW_AT_const_value(>i64), to be host-endian-neutral. Don't assume APInt::getRawData() would hold target-aware endianness nor host-compliant endianness. rawdata[0] holds most lower i64, even on big endian host. FIXME: Add a testcase for big endian target. FIXME: Ditto on CompileUnit::addConstantFPValue() ? llvm-svn: 143194