projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02895ee
)
Silence an implicit conversion warning on the bit shift result in MSVC; NFC
author
Aaron Ballman
<aaron@aaronballman.com>
Tue, 5 Oct 2021 11:13:00 +0000
(07:13 -0400)
committer
Aaron Ballman
<aaron@aaronballman.com>
Tue, 5 Oct 2021 11:13:47 +0000
(07:13 -0400)
llvm/lib/Object/XCOFFObjectFile.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Object/XCOFFObjectFile.cpp
b/llvm/lib/Object/XCOFFObjectFile.cpp
index
c915bf7
..
e4daa8c
100644
(file)
--- a/
llvm/lib/Object/XCOFFObjectFile.cpp
+++ b/
llvm/lib/Object/XCOFFObjectFile.cpp
@@
-230,7
+230,7
@@
uint32_t XCOFFObjectFile::getSymbolAlignment(DataRefImpl Symb) const {
// TODO: report the error up the stack.
consumeError(CsectAuxRefOrError.takeError());
else
- Result = 1 << CsectAuxRefOrError.get().getAlignmentLog2();
+ Result = 1
ULL
<< CsectAuxRefOrError.get().getAlignmentLog2();
}
return Result;
}