<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - log enable --stack isn't getting function or line info in liblldb.so on Ubuntu 14.04"
   href="https://llvm.org/bugs/show_bug.cgi?id=25133">25133</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>log enable --stack isn't getting function or line info in liblldb.so on Ubuntu 14.04
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>todd.fiala@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With a cmake/ninja build configured like so:

    CC=/usr/bin/clang-3.6 CXX=/usr/bin/clang++-3.6 \
    cmake \
        -GNinja \
        -DCMAKE_BUILD_TYPE=Debug \
        -DCMAKE_EXE_LINKER_FLAGS:STRING=-fuse-ld=gold \
        -DCMAKE_SHARED_LINKER_FLAGS:STRING=-fuse-ld=gold \
        -Wno-dev \
        $SOURCE_DIR

Using the following:
$ lldb
(lldb)  log enable --stack lldb process
 log enable --stack lldb process
(lldb) log enable --stack lldb target
log enable --stack lldb target
(lldb) target create /bin/ls
target create /bin/ls
Target::Target created with architecture x86_64 (x86_64-unknown-linux)
0  liblldb.so.3.8 0x00007fbae0047eae
1  liblldb.so.3.8 0x00007fbae014fe66
2  liblldb.so.3.8 0x00007fbae0155879
3  liblldb.so.3.8 0x00007fbae03aa025
4  liblldb.so.3.8 0x00007fbae03c1285
5  liblldb.so.3.8 0x00007fbae03c09cc
6  liblldb.so.3.8 0x00007fbae03bfa7b
7  liblldb.so.3.8 0x00007fbae0750b52
8  liblldb.so.3.8 0x00007fbae0231fe6
9  liblldb.so.3.8 0x00007fbae0222e90
10 liblldb.so.3.8 0x00007fbae02268f9
11 liblldb.so.3.8 0x00007fbae0226e77
12 liblldb.so.3.8 0x00007fbae012ea7d
13 liblldb.so.3.8 0x00007fbae0104657
14 liblldb.so.3.8 0x00007fbae02276b7
15 liblldb.so.3.8 0x00007fbade7dc7e1
lldb::SBDebugger::RunCommandInterpreter(bool, bool) + 129
16 lldb           0x0000000000406208
17 lldb           0x0000000000406774
18 libc.so.6      0x00007fbadcd10ec5 __libc_start_main + 245
19 lldb           0x0000000000403069
Target::Target created with architecture x86_64 (x86_64--linux-gnu)
0  liblldb.so.3.8 0x00007fbae0047eae
1  liblldb.so.3.8 0x00007fbae014fe66
2  liblldb.so.3.8 0x00007fbae0155879
3  liblldb.so.3.8 0x00007fbae03aa025
4  liblldb.so.3.8 0x00007fbae03c1379
5  liblldb.so.3.8 0x00007fbae03c09cc
6  liblldb.so.3.8 0x00007fbae03c1788
7  liblldb.so.3.8 0x00007fbae03c16d9
8  liblldb.so.3.8 0x00007fbae0106aa1
9  liblldb.so.3.8 0x00007fbae03c154d
10 liblldb.so.3.8 0x00007fbae03c09cc
11 liblldb.so.3.8 0x00007fbae03bfa7b
12 liblldb.so.3.8 0x00007fbae0750b52
13 liblldb.so.3.8 0x00007fbae0231fe6
14 liblldb.so.3.8 0x00007fbae0222e90
15 liblldb.so.3.8 0x00007fbae02268f9
16 liblldb.so.3.8 0x00007fbae0226e77
17 liblldb.so.3.8 0x00007fbae012ea7d
18 liblldb.so.3.8 0x00007fbae0104657
19 liblldb.so.3.8 0x00007fbae02276b7
20 liblldb.so.3.8 0x00007fbade7dc7e1
lldb::SBDebugger::RunCommandInterpreter(bool, bool) + 129
21 lldb           0x0000000000406208
22 lldb           0x0000000000406774
23 libc.so.6      0x00007fbadcd10ec5 __libc_start_main + 245
24 lldb           0x0000000000403069
Current executable set to '/bin/ls' (x86_64).
(lldb)

we are not getting any file/function/line number info for the vast majority of
the backtrace.  This is with a Debug-style cmake build using clang-3.6.  We
should have all the debuginfo we need here.

I'm going to try with other compilers to see if this situation changes.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>