[llvm-commits] [llvm] r95024 - in /llvm/trunk/tools/ed: EnhancedDisassembly.exports EnhancedDisassembly.exports.blocks EnhancedDisassembly.exports.noblocks Makefile

Chris Lattner clattner at apple.com
Mon Feb 1 15:47:03 PST 2010


On Feb 1, 2010, at 3:01 PM, Sean Callanan wrote:

> Author: spyffe
> Date: Mon Feb  1 17:01:38 2010
> New Revision: 95024
>
> URL: http://llvm.org/viewvc/llvm-project?rev=95024&view=rev
> Log:
> Updated to use the proper .exports file for the
> target platform, depending on whether the target
> supports the blocks API or not

Hey Sean,

An easier and cleaner way to do this might be to just stub out the  
'blocks' functions like this:

#ifndef __BLOCKS

void EDBlockCreateInsts() {
   abort();
}
...
#endif

That way the export map is constant,

-Chris



More information about the llvm-commits mailing list