[llvm] 24d48d4 - [LangRef] add note to warn-frame-size about ODR

Nick Desaulniers via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 16:31:14 PDT 2021


Author: Nick Desaulniers
Date: 2021-06-23T16:28:55-07:00
New Revision: 24d48d45cc302a6abeab139d87ba87f7a2335323

URL: https://github.com/llvm/llvm-project/commit/24d48d45cc302a6abeab139d87ba87f7a2335323
DIFF: https://github.com/llvm/llvm-project/commit/24d48d45cc302a6abeab139d87ba87f7a2335323.diff

LOG: [LangRef] add note to warn-frame-size about ODR

As sugguested by @dblaikie in D104342.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D104736

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 6c4163f2479f..f399fbbae91c 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -2052,7 +2052,8 @@ example:
     This attribute sets a threshold to emit diagnostics once the frame size is
     known should the frame size exceed the specified value.  It takes one
     required integer value, which should be a non-negative integer, and less
-    than `UINT_MAX`.
+    than `UINT_MAX`.  It's unspecified which threshold will be used when
+    duplicate definitions are linked together with 
diff ering values.
 ``vscale_range(<min>[, <max>])``
     This attribute indicates the minimum and maximum vscale value for the given
     function. A value of 0 means unbounded. If the optional max value is omitted


        


More information about the llvm-commits mailing list