[LLVMbugs] [Bug 24183] New: libclang missing symbols
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jul 19 13:42:06 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24183
Bug ID: 24183
Summary: libclang missing symbols
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: libclang
Assignee: unassignedclangbugs at nondot.org
Reporter: joe at roback.cc
CC: klimek at google.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
shared library libclang is missing symbols.
On Darwin via MacPorts via clang-3.6.1
$ nm /opt/local/libexec/llvm-3.6/lib/libclang.a | grep clang_CompileCommand
00000000000002d3 T _clang_CompileCommand_getArg
000000000000028f T _clang_CompileCommand_getDirectory
000000000000039e T _clang_CompileCommand_getMappedSourceContent
0000000000000345 T _clang_CompileCommand_getMappedSourcePath
00000000000002b4 T _clang_CompileCommand_getNumArgs
0000000000000326 T _clang_CompileCommand_getNumMappedSources
000000000000020c T _clang_CompileCommands_dispose
0000000000000255 T _clang_CompileCommands_getCommand
0000000000000237 T _clang_CompileCommands_getSize
$ nm /opt/local/libexec/llvm-3.6/lib/libclang.dylib | grep clang_CompileCommand
0000000000021888 T _clang_CompileCommand_getArg
0000000000021844 T _clang_CompileCommand_getDirectory
0000000000021869 T _clang_CompileCommand_getNumArgs
00000000000217c1 T _clang_CompileCommands_dispose
000000000002180a T _clang_CompileCommands_getCommand
00000000000217ec T _clang_CompileCommands_getSize
Missing are
000000000000039e T _clang_CompileCommand_getMappedSourceContent
0000000000000345 T _clang_CompileCommand_getMappedSourcePath
0000000000000326 T _clang_CompileCommand_getNumMappedSources
---
On Linux, compiled from trunk clang 3.8
$ objdump -T /opt/clang/lib/libclang.so | grep clang_CompileCommand
000000000036ad40 g DF .text 000000000000002c Base
clang_CompileCommand_getDirectory
000000000036acf0 g DF .text 0000000000000043 Base
clang_CompileCommands_getCommand
000000000036ad70 g DF .text 000000000000001b Base
clang_CompileCommand_getNumArgs
000000000036ad90 g DF .text 000000000000003c Base
clang_CompileCommand_getArg
000000000036a990 g DF .text 0000000000000328 Base
clang_CompileCommands_dispose
000000000036acc0 g DF .text 0000000000000023 Base
clang_CompileCommands_getSize
$ nm /opt/clang/lib/libclang.a | grep clang_CompileCommand
0000000000000000 T clang_CompileCommand_getArg
0000000000000000 T clang_CompileCommand_getDirectory
0000000000000000 T clang_CompileCommand_getMappedSourceContent
0000000000000000 T clang_CompileCommand_getMappedSourcePath
0000000000000000 T clang_CompileCommand_getNumArgs
0000000000000000 T clang_CompileCommand_getNumMappedSources
0000000000000000 T clang_CompileCommands_dispose
0000000000000000 T clang_CompileCommands_getCommand
0000000000000000 T clang_CompileCommands_getSize
They are missing from libclang.exports file.
${SRC}/tools/clang/tools/libclang/libclang.exports
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150719/ec0a53f6/attachment.html>
More information about the llvm-bugs
mailing list