[LLVMbugs] [Bug 2126] New: something funny with the symbol table lookup
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Mar 7 01:29:18 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=2126
Summary: something funny with the symbol table lookup
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1501)
--> (http://llvm.org/bugs/attachment.cgi?id=1501)
optimized linux simple_throw bytecode
For some reason, on Linux the JIT can resolve a symbol while the interpreter
can't. This is SingleSource/Regression/C++/EH/simple_throw:
$ lli --force-interpreter=true x.bc
Could not resolve external global address: _ZTIi
llvm-commit/Debug/bin/lli[0x87e0322]
llvm-commit/Debug/bin/lli[0x87e0454]
[0xffffe500]
Aborted
$ lli x.bc
terminate called after throwing an instance of 'int'
llvm-commit/Debug/bin/lli[0x87e0322]
llvm-commit/Debug/bin/lli[0x87e0454]
[0xffffe500]
Aborted
(Neither behaviour is entirely correct, but the JIT is closer. The program does
throw 5, but it ought to catch it too.)
I added debugging to the JIT and it is resolving _ZTIi.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list