[LLVMdev] Re: Autoconf

Brian R. Gaeke gaeke at uiuc.edu
Tue Jun 17 18:11:02 PDT 2003

> > 1a) In lib/Bytecode/Reader we use mmap to read in bytecode files and archives.
> > Certainly it would be trivial to rework this to fall back on mmap if
> > read/write is not possible (in one case it already does this, if we are
> > reading from stdin, which you can't mmap anyway.)
> As Brian said, we already have the fallback path in here for when mmap
> isn't available.  mmap is a performance optimization though, read and
> write should never fail.

Whoops. Thanks for correcting my thinko. "...to fall back on *read/write*
if *mmap* is not possible..." is what I meant to say above.

gaeke at uiuc.edu

More information about the llvm-dev mailing list