summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-08-06 10:03:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-08-06 10:03:25 +0000
commitf98035ce65b1813c8441d89fbfe057936570cf5e (patch)
treea2ca05de6c3c2a4ec50e2f189d22dddc404ae5b4 /llvm/docs
parent3a56e3f0286600f762b51f9d89e283d54cd57d70 (diff)
downloadbcm5719-llvm-f98035ce65b1813c8441d89fbfe057936570cf5e.tar.gz
bcm5719-llvm-f98035ce65b1813c8441d89fbfe057936570cf5e.zip
[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. llvm-svn: 338998
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/SourceLevelDebugging.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst
index 7064c403ef1..f1b045ff629 100644
--- a/llvm/docs/SourceLevelDebugging.rst
+++ b/llvm/docs/SourceLevelDebugging.rst
@@ -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 it we get:
.. 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
OpenPOWER on IntegriCloud