Skip to content

Commit

Permalink
[NFC] correcting a code comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
llvm-beanz committed May 18, 2022
1 parent 0990d5b commit 47258ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Object/DXContainer.cpp
Expand Up @@ -24,7 +24,7 @@ static Error readStruct(StringRef Buffer, const char *P, T &Struct) {
return parseFailed("Reading structure out of file bounds");

memcpy(&Struct, P, sizeof(T));
// DXContainer is always BigEndian
// DXContainer is always little endian
if (sys::IsBigEndianHost)
Struct.byteSwap();
return Error::success();
Expand Down

0 comments on commit 47258ff

Please sign in to comment.