llvm.org GIT mirror llvm / f6ba2bc
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338998 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 1 year, 3 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
14941494
14951495 .. code-block:: llvm
14961496
1497 define dso_local void @f(i32* %x) {
1497 define void @f(i32* %x) {
14981498 entry:
14991499 %x.addr = alloca i32*, align 8
15001500 store i32* %x, i32** %x.addr, align 8
15071507
15081508 .. code-block:: llvm
15091509
1510 define dso_local void @f(i32* %x) !dbg !6 {
1510 define void @f(i32* %x) !dbg !6 {
15111511 entry:
15121512 %x.addr = alloca i32*, align 8, !dbg !12
15131513 call void @llvm.dbg.value(metadata i32** %x.addr, metadata !9, metadata !DIExpression()), !dbg !12