Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

LLVM? More likely LoLVM

Name: Anonymous 2012-07-22 4:24

LLVM has some ENTERPRISE QUALITY.

It has function createMCSubtargetInfo in Target class that creates subtarget for processor and its features. Unless you pass "help" string to it instead of CPU model.

In this case this function prints everything to stderr and calls exit(1), shutting down your whole application.

You write GUI program that has no stderr? Well, sucks to be you.
You can't get list of processors or features otherwise. Only by passing "help" and quiting application.
Thanks goodness LLVM has a nice license.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-07-22 7:58

>>4,7-18
The real WTF is that the function does something completely different and unexpected from what it should be doing, triggered by an odd use of parameter. OP would've been as irritated if passing "help" caused it to speak the documentation through the default audio device.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List