MC: place .file records into the correct section
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 2 May 2014 17:45:24 +0000 (17:45 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 2 May 2014 17:45:24 +0000 (17:45 +0000)
commit735f9edde15046cf67037449fb7c41c048c923b7
tree5913a578eb701fe7ff95fa9c4e417a0861a6e8ca
parentb20252764dd2d68e4334dcf127b3b683226dc72b
MC: place .file records into the correct section

.file records are supposed to have a section identifier of 65534
(IMAGE_SCN_DEBUG) rather than 0.  This is spelt out clearly within the PE/COFF
specification.  Fix this minor oversight with the implementation for support for
.file records.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207851 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WinCOFFObjectWriter.cpp
test/MC/ARM/coff-file.s
test/MC/COFF/file.s