[CodeGen] clarify a comment; NFC
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 14 Apr 2020 21:29:29 +0000 (14:29 -0700)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 14 Apr 2020 21:33:01 +0000 (14:33 -0700)
Prompted by discussion on https://reviews.llvm.org/D78148.

clang/lib/CodeGen/CodeGenModule.cpp

index 0f56dcb..39aa5c1 100644 (file)
@@ -2796,8 +2796,8 @@ bool CodeGenModule::shouldEmitFunction(GlobalDecl GD) {
 
   // PR9614. Avoid cases where the source code is lying to us. An available
   // externally function should have an equivalent function somewhere else,
-  // but a function that calls itself is clearly not equivalent to the real
-  // implementation.
+  // but a function that calls itself through asm label/`__builtin_` trickery is
+  // clearly not equivalent to the real implementation.
   // This happens in glibc's btowc and in some configure checks.
   return !isTriviallyRecursive(F);
 }