Recently, I added some command line options to my pass like this:
static llvm::opt<MemMod> MemoryModel("mem-mod",
llvm::desc("Set the memory model:"),
clEnumVal(flat, "flat memory model"),
clEnumVal(twodim, "two dimensional memory model"),
This works perfectly on Linux and MacOS, but not under cygwin
(MemoryModel global variable does not get set).
Has anybody else experienced similar issues?
Any help would be greatly appreciated. Thanks!