[llvm] r338998 - [docs] Remove the `dso_local` tag from these functions.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 6 03:03:26 PDT 2018


Author: chandlerc
Date: Mon Aug  6 03:03:25 2018
New Revision: 338998

URL: http://llvm.org/viewvc/llvm-project?rev=338998&view=rev
Log:
[docs] Remove the `dso_local` tag from these functions.

The sphinx build bot is erroring on these examples for some unknown
reason, and really the dso_local doesn't seem to be relevant to the
example in any way so its cleaner to omit it. And now they will look
a bit more like other (successful) IR examples.

Modified:
    llvm/trunk/docs/SourceLevelDebugging.rst

Modified: llvm/trunk/docs/SourceLevelDebugging.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/SourceLevelDebugging.rst?rev=338998&r1=338997&r2=338998&view=diff
==============================================================================
--- llvm/trunk/docs/SourceLevelDebugging.rst (original)
+++ llvm/trunk/docs/SourceLevelDebugging.rst Mon Aug  6 03:03:25 2018
@@ -1495,7 +1495,7 @@ For example, here is a module before:
 
 .. code-block:: llvm
 
-   define dso_local void @f(i32* %x) {
+   define void @f(i32* %x) {
    entry:
      %x.addr = alloca i32*, align 8
      store i32* %x, i32** %x.addr, align 8
@@ -1508,7 +1508,7 @@ and after running ``opt -debugify``  on
 
 .. code-block:: llvm
 
-   define dso_local void @f(i32* %x) !dbg !6 {
+   define void @f(i32* %x) !dbg !6 {
    entry:
      %x.addr = alloca i32*, align 8, !dbg !12
      call void @llvm.dbg.value(metadata i32** %x.addr, metadata !9, metadata !DIExpression()), !dbg !12




More information about the llvm-commits mailing list