[llvm-commits] [llvm] r46565 - in /llvm/trunk: lib/CodeGen/MachineModuleInfo.cpp test/DebugInfo/globalGetElementPtr.ll

Chris Lattner clattner at apple.com
Thu Jan 31 11:10:38 PST 2008


On Jan 31, 2008, at 10:46 AM, Dale Johannesen wrote:

>
> No I'm not sure, but I know of no case where this is useful or
> desirable.
> The code in question is handling the debug info for global variables,
> specifically the part that points to the global variable itself.
> That's under the control of the front ends, although the optimizers
> can do simplifications.  I don't think there's a need to handle more
> general expressions here.

I agree with dale.  In the future, we should find a more structured  
way of encoding debug info: until then, this approach should be ok.

-Chris



More information about the llvm-commits mailing list