First Last Prev Next    No search results available
Details
: [llvmg++] C++ frontend is expanding lots of unused inline...
Bug#: 459
: tools
: llvm-g++
Status: VERIFIED
Resolution: FIXED
: All
: All
: 1.0
: P2
: normal
: 1.4

:
: slow-compile
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Chris Lattner <sabre@nondot.org>
Assigned To: Chris Lattner <sabre@nondot.org>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2004-11-18 14:52
Testcase:

---
#include <stdio.h>
---

To reproduce:
$ llvmg++ test.c -S -o -

Look at all of the linkonce function bodies that get emitted.  This is VERY bad.
 Note this only happens with llvmg++, not with llvmgcc.

-Chris
------- Comment #3 From Chris Lattner 2004-11-28 01:58:40 -------
As it turns out, that patch broke the C++ FE, causing it to emit too few
symbols.  The problem is that it didn't notice when global variables (e.g.
vtables) referred to inline functions.  These patches fix this:

http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041122/021395.html
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041122/021396.html

-Chris

First Last Prev Next    No search results available