File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1252,16 +1252,16 @@ Expected<bool> XCOFFSymbolRef::isFunction() const {
1252
1252
CsectAuxRef.getSymbolType () == XCOFF::XTY_ER)
1253
1253
return false ;
1254
1254
1255
- // If the next symbol is an XTY_LD type symbol with same address, this XTY_SD
1256
- // symbol is not a function. Otherwise this is a function symbol for
1255
+ // If the next symbol is an XTY_LD type symbol with the same address, this
1256
+ // XTY_SD symbol is not a function. Otherwise this is a function symbol for
1257
1257
// -ffunction-sections.
1258
1258
if (CsectAuxRef.getSymbolType () == XCOFF::XTY_SD) {
1259
1259
// If this is a csect with size 0, it won't be a function definition.
1260
- // This is used to hack situation that llvm always generates below symbol
1261
- // for -ffunction-sections:
1262
- // FIXME: remove or replace this meaningless symbol.
1260
+ // This is used to work around the fact that LLVM always generates below
1261
+ // symbol for -ffunction-sections:
1263
1262
// m 0x00000000 .text 1 unamex **No Symbol**
1264
1263
// a4 0x00000000 0 0 SD PR 0 0
1264
+ // FIXME: remove or replace this meaningless symbol.
1265
1265
if (getSize () == 0 )
1266
1266
return false ;
1267
1267
You can’t perform that action at this time.
0 commit comments