Details
Diff Detail
Event Timeline
llvm/lib/Object/COFFObjectFile.cpp | ||
---|---|---|
332 | You might want to cross-reference this with MCObjectFileInfo.cpp which seems to hardcode these values, too. It looks like this is what is used for DWARF on COFF |
You could add a unit test for this, but it would effectively be a reimplementation of the function. I'm fine either way.
LGTM, but I'd like to see at least one other change that makes use of this to be ready before you commit this, as otherwise this is just dead and untested code. I agree a unit test probably doesn't make much sense.
Can this go as is, since the D74205 has a few tests using this? I agree a unit test is not the best solution for this..
Right, sorry for the confusion. Now that D74205 is ready to land, this is good to go.
Is this definitely correct for COFF?