[cfe-dev] LLVM EH and PIC

Anton Korobeynikov anton at korobeynikov.info
Mon Jan 25 02:04:27 PST 2010

Hi, David

> I think this is an LLVM bug, and it should be generating PIC-aware code for pointers passed to llvm_eh_selector(), but possibly I am doing something wrong in clang.  Are you meant to do anything magic to make the pointers that you pass to llvm_eh_selector() PIC-aware?  The code works if I modify the generated assembly and changing that line to:
This is PR5004

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the cfe-dev mailing list