summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qpluginloader.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-01 20:49:45 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-03 15:45:15 (GMT)
commit7f6fe4bc968763d50c4b1d61017f9a45927250e9 (patch)
tree11bb5ec4536dc9ab44ef9d6b185467e9da85ea99 /src/corelib/plugin/qpluginloader.h
parent779a0d678fd63d0d26c0c6bda7c3e82dcb8eb75d (diff)
downloadQt-7f6fe4bc968763d50c4b1d61017f9a45927250e9.zip
Qt-7f6fe4bc968763d50c4b1d61017f9a45927250e9.tar.gz
Qt-7f6fe4bc968763d50c4b1d61017f9a45927250e9.tar.bz2
[plugins] Don't conclude that a .debug file is a plugin.
On Unix systems (that are not Mac), the Qt buildsystem splits the code from the debug symbols using objcopy. The resulting .debug file contains a valid ELF header, with a copy of the main library's section headers. But the contents of those sections are missing. When we try to dlopen(3) those libraries, libdl crashes. So we shouldn't try to open those files.
Diffstat (limited to 'src/corelib/plugin/qpluginloader.h')
0 files changed, 0 insertions, 0 deletions