Skip to content

Commit 847063c

Browse files
committed
.
Created using spr 1.3.5-bogner
1 parent 9d4dab4 commit 847063c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ static bool runOnFunction(Function &F, bool PostInlining) {
104104
return false;
105105

106106
// available_externally functions may not have definitions external to the
107-
// module (e.g. gnu::always_inline). Instrumenting them would lead to linker
108-
// errors. Skip them like GCC.
107+
// module (e.g. gnu::always_inline). Instrumenting them might lead to linker
108+
// errors if they are optimized out. Skip them like GCC.
109109
if (F.hasAvailableExternallyLinkage())
110110
return false;
111111

0 commit comments

Comments
 (0)