summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorjasonliu <jasonliu.development@gmail.com>2019-11-26 16:05:26 +0000
committerjasonliu <jasonliu.development@gmail.com>2019-11-26 16:09:31 +0000
commit7707d8aa9db8aa3814593f9c40cc707f306e3ae2 (patch)
tree1f9a518fdcbf406b2952ca61694a469879dc2966 /llvm/lib/MC
parent008e65a7bfb320bf197a04ff6427da84f8d38b76 (diff)
downloadbcm5719-llvm-7707d8aa9db8aa3814593f9c40cc707f306e3ae2.tar.gz
bcm5719-llvm-7707d8aa9db8aa3814593f9c40cc707f306e3ae2.zip
[XCOFF][AIX] Check linkage on the function, and two fixes for comments
This is a follow up commit to address post-commit comment in D70443 Differential revision: https://reviews.llvm.org/D70443
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/XCOFFObjectWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/XCOFFObjectWriter.cpp b/llvm/lib/MC/XCOFFObjectWriter.cpp
index ca96a0ecf9f..ab0d9048ecf 100644
--- a/llvm/lib/MC/XCOFFObjectWriter.cpp
+++ b/llvm/lib/MC/XCOFFObjectWriter.cpp
@@ -574,7 +574,7 @@ void XCOFFObjectWriter::assignAddressesAndIndices(const MCAsmLayout &Layout) {
// yet, so start at index 0.
uint32_t SymbolTableIndex = 0;
- // Calculate undefined symbol's indices.
+ // Calculate indices for undefined symbols.
for (auto &Csect : UndefinedCsects) {
Csect.Size = 0;
Csect.Address = 0;
OpenPOWER on IntegriCloud