Do not segfault if no common root can be found
ClosedPublic

Authored by angerman on Sep 29 2016, 6:46 AM.

Details

Summary

When trying to profile a plugin, ghc mysteriously segfaulted. Upon
closer examination the segfault happend due to a ->prevStack lookup
on a NULL pointer.

A new CostCentre: Unknown is introduced that is set, if ccsapp and
ccsfn are of equal depth (e.g. 0), and do not have a common CostCentre
in their stacks.

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
angerman updated this revision to Diff 8818.Sep 29 2016, 6:46 AM
angerman retitled this revision from to Do not segfault if no common root can be found.
angerman updated this object.
angerman edited the test plan for this revision. (Show Details)
angerman added reviewers: bgamari, simonmar.
angerman updated this revision to Diff 8819.Sep 29 2016, 6:48 AM
angerman edited edge metadata.

Drop typo.

I would really like to know what the core of this issue is. But I was unable to locate the underlying reason :-/

bgamari edited edge metadata.EditedSep 29 2016, 8:17 AM

It's rather odd that neither of the [stacks that you found in your tests](P120) begin with a reasonable-looking start frame (e.g. Main).

It's rather odd that neither of the [stacks that you found in your tests](P120) begin with a reasonable-looking start frame (e.g. Main).

Indeed! And I'd really like to know more why.

Also to note: we enter in L418,L419

// uncommon case 6: stacks are equal depth, but different
reg->rCCCS = enterFunEqualStacks(ccsapp,ccsapp,ccsfn);

with ccsapp->depth == ccsfn->depth == 0, which for all the
other occurrences I casually observed was usually 8 or 10.

simonmar requested changes to this revision.Sep 30 2016, 2:38 PM
simonmar edited edge metadata.

I also think we should get to the bottom of the problem. Perhaps we didn't run the init code in the plugin? GHC emits an init routine into each module that initializes the cost centres and stacks in that module - it should make everything a child of MAIN. The init routine is annotated as a constructor by GHC, so the linker should run it at load time (both the RTS linker and the system linker will do this).

This revision now requires changes to proceed.Sep 30 2016, 2:38 PM

Just to follow up on this - to get the cost centres from a dynamically loaded module we have to call resolveObjs() in the RTS somewhere. Perhaps we're not doing this for a plugin?

I hoped that D2575 would automagically resolve this; however it did not. I'll have to take yet another look into this.

After some digging I found that CCS_LIST is NULL in profiling2 (rts/Profiling.c#L212-L225)

void initProfiling2 (void)
{
    CostCentreStack *ccs, *next;

    // make CCS_MAIN the parent of all the pre-defined CCSs.
    for (ccs = CCS_LIST; ccs != NULL; ) {
        next = ccs->prevStack;
        ccs->prevStack = NULL;
        actualPush_(CCS_MAIN,ccs->cc,ccs);
        ccs->root = ccs;
        ccs = next;
    }
    CCS_LIST = NULL;
}

That got me curious, so I started to add lots of print statements all across the codebase. The full ghc log is in

.

The usual Loading package integer-gmp-1.0.0.1 ... linking ... done. now look like:

Loading package integer-gmp-1.0.0.1 ... linking ... *** resolveObjs_
    loading objects:......................
*** initProfiling2 (CCS_MAIN at 0x1131be640)
    making CCS_MAIN parent of pre-def CCSs:
done.

so we are loading objects (a dot for each) in resolveObjs_. However in initProfiling2 we iterate over an empty list.

As @simonmar said, there is a constructor emitted in the libraries, that should do the registering. (e.g. the code here: compiler/profiling/ProfInit.hs). So I've also added some printing into the constructor, to list the module name, the local_CCs and the SCCs.

However only the following constructor calls end up in the log:

prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziLLVMziGenziMonad: 23 CC, 2, CCS
prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziLLVMziGen: 475 CC, 285, CCS
prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziHooks: 21 CC, 11, CCS
prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziPlugin: 3 CC, 2, CCS

And only after calling resolveObjs_ and initProfiling2 after loading data-bitcode-plugin-0.1.0.0.

There are many more _prof_init symbols though:

000000000002e7d0 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCode
0000000000003c30 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziAbbreviation
0000000000004fc0 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziAbbrevOpEncoding
0000000000003e10 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziCodesziBlockInfo
0000000000004780 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziIDsziFixedAbbrev
00000000000036d0 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziIDsziStandardBlock
0000000000000eb0 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziReader
000000000000ab10 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziReaderziCombinators
00000000000179d0 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziReaderziFromBits
0000000000011590 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziReaderziMonad
0000000000000f70 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziWriter
0000000000008db0 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziWriterziCombinators
000000000000cb50 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziWriterziMonad
000000000000a460 t _prof_init_datazmbitcodezm0zi1zi0zi0zmK4AdGj4MsZZA4RP3ZZRJNAn8_DataziBitCodeziWriterziToBits
0000000000000140 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_AnnotatedziHelloWorld
0000000000019220 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_EDSL
0000000000020e70 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_EDSLziExampleziHelloBranch
0000000000004930 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_EDSLziExampleziHelloWorld
0000000000028240 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_EDSLziInstructions
000000000000c8e0 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_EDSLziMonad
0000000000004160 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_EDSLziTypes
0000000000007640 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_EDSLziValues
0000000000000080 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_PlaygroundziEDSL
0000000000007d10 t _prof_init_datazmbitcodezmedslzm0zi1zi0zi0zmBd4sNCyWKcfFY6c7iYVlrF_PlaygroundziReader
000000000000aea0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVM
000000000000e430 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCallingConv
0000000000007340 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziClassesziToSymbols
000000000001bab0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCmp
0000000000005820 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziAtomicOrdering
0000000000003e10 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziAttribute
0000000000007dd0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziAttributeKind
0000000000004fc0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziComdatSelectionKind
0000000000004fc0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziConstants
0000000000008660 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziFunction
0000000000003630 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziFunctionSummarySymtab
0000000000007440 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziIdentification
0000000000006280 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziMetadata
0000000000004210 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziModule
0000000000002d50 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziModulePathSymtab
0000000000002d50 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziOperandBundleTag
0000000000002d50 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziSynchronizzationScope
0000000000004e10 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziType
0000000000002d50 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziTypeSymtab
0000000000003630 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziUseList
0000000000004780 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziCodesziValueSymtab
000000000001a180 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziFlags
00000000000839e0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziFromBitCode
000000000000da90 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziFunction
0000000000004e10 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziIDsziBlocks
000000000002b4c0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziInstruction
000000000000a240 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziLinkage
00000000000069d0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziMetadata
000000000000b510 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziOpcodesziBinary
000000000000b510 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziOpcodesziCast
00000000000052a0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziParamAttr
000000000002c720 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziPretty
000000000001f720 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziReaderziMonad
0000000000003990 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziRWMOperations
0000000000005fe0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziStorageClass
0000000000008620 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziThreadLocalMode
0000000000029ec0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziToBitCode
00000000000214a0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziType
0000000000009ee0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziUtil
0000000000094090 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziValue
0000000000005fe0 t _prof_init_datazmbitcodezmllvmzm3zi8zi0zi0zmHDV2uEZZommFDjtO2vL5qVC_DataziBitCodeziLLVMziVisibility
00000000000222c0 t _prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_CmmziPretty
0000000000005270 t _prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziHooks
0000000000081f70 t _prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziLLVMziGen
0000000000004e60 t _prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziLLVMziGenziMonad
0000000000000480 t _prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziPlugin
0000000000006140 t _prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_Playground

across all the libraries involved: data-bitcode, data-bitcode-llvm, data-bitcode-edsl and data-bitcode-plugin.

The plugin entry is clearly Data.BitCode.Plugin, which in turn imports Data.BitCode.Hooks, which then import Data.BitCode.LLVM.Gen and Data.BitCode.LLVM.Gen.Monad.

However, it looks like the prof_init code for none of the other modules is ever called, which leaves me scratching my head quite a bit. The log also shows how often we hit the case
in enterFunEqualStacks where ccsapp or ccsfn is NULL.

Can it be that initProfiling2 expects the prof_init method to have run already?

Good analysis...

Can it be that initProfiling2 expects the prof_init method to have run already?

Yes. The linker is supposed to run them, when loading each module. They should be run by ocRunInit_ELF(), which is called by loadObj(). So I suggest adding some logging to the linker to figure out why the init funcitons aren't being called.

Good analysis...

Thanks!

Yes. The linker is supposed to run them, when loading each module. They should be run by ocRunInit_ELF(), which is called by loadObj(). So I suggest adding some logging to the linker to figure out why the init funcitons aren't being called.

This happens to be just what I did that minute. However I'm looking at ocRunInit_MachO as my host is a mac (see below).

Now I'm even more confused by the order in which the output appears. We can also see that we iterate over many objects, however only occasionally actually trigger the constructor; which feels a bit strange.

*** gcc:
Loading package data-bitcode-plugin-0.1.0.0 ... linking ... *** resolveObjs_
    loading objects:..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
*** initProfiling2 (CCS_MAIN at 0x111eb4640)
    making CCS_MAIN parent of pre-def CCSs:
done.
*** resolveObjs_
    loading objects:..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
*** initProfiling2 (CCS_MAIN at 0x111eb4640)
    making CCS_MAIN parent of pre-def CCSs:
*** resolveObjs_
    loading objects:..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
*** initProfiling2 (CCS_MAIN at 0x111eb4640)
    making CCS_MAIN parent of pre-def CCSs:
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-prim-0.5.0.0/libHSghc-prim-0.5.0.0_p.a(Types.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-prim-0.5.0.0/libHSghc-prim-0.5.0.0_p.a(CString.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-prim-0.5.0.0/libHSghc-prim-0.5.0.0_p.a(Classes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-prim-0.5.0.0/libHSghc-prim-0.5.0.0_p.a(Tuple.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/integer-gmp-1.0.0.1/libHSinteger-gmp-1.0.0.1_p.a(wrappers.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/integer-gmp-1.0.0.1/libHSinteger-gmp-1.0.0.1_p.a(Type.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Num.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Char.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Enum.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Arr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(WCsubst.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Types.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Unicode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(ST.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(ReadPrec.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(ConversionUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Real.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(primFloat.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/integer-gmp-1.0.0.1/libHSinteger-gmp-1.0.0.1_p.a(Internals.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/integer-gmp-1.0.0.1/libHSinteger-gmp-1.0.0.1_p.a(Logarithms.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(RealFracMethods.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Float.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Read.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(STRef.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Types.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Ptr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Types.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Bits.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Int.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Word.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Stable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Storable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Storable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(ForeignPtr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Imp.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Buffer.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Device.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(BufferedIO.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Failure.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Latin1.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(MVar.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Internals.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Unsafe.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(PrelIOUtils.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(UTF8.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(UTF32.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(UTF16.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(iconv.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Alloc.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Array.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Tuple.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Foreign.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Types.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(String.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Iconv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Encoding.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Error.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(IOMode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Internals.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(inputReady.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Weak.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Maybe.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Handle.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(FD.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Sync.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Control.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Array.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(OldList.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Internal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(KQueue.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Arr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(IntTable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Manager.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Poll.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(PSQ.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Signal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(TimerManager.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Thread.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(FD.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Text.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(md5.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Fingerprint.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Either.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Proxy.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Generics.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(CCS.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Exception.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(IO.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Fail.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(ReadP.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Lex.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Numeric.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Type.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Internal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(List.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Show.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Exception.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Err.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Class.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Monoid.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(IO.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Fix.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/transformers-0.5.2.0/libHStransformers-0.5.2.0_p.a(Lazy.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Equality.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Coercion.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Read.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Version.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Data.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/containers-0.5.7.1/libHScontainers-0.5.7.1_p.a(StrictPair.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Trace.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Exts.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Foldable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Ord.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Const.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Category.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Arrow.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Applicative.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Traversable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Zip.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(NonEmpty.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Bifunctor.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Semigroup.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/containers-0.5.7.1/libHScontainers-0.5.7.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Monad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(MonadUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(SetEnv.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Environment.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Config.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Printf.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/containers-0.5.7.1/libHScontainers-0.5.7.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Char.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Encoding.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(cutils.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(BufWrite.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(fpstring.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Internal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Unsafe.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(ByteString.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FastString.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Pretty.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Unique.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FastMutInt.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/filepath-1.4.1.0/libHSfilepath-1.4.1.0_p.a(Posix.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SrcLoc.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmdLineParser.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StaticFlags.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(BasicTypes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Fixed.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Void.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/deepseq-1.4.2.0/libHSdeepseq-1.4.2.0_p.a(DeepSeq.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(Days.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(Scale.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(UTC.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-boot-8.0.1/libHSghc-boot-8.0.1_p.a(Serialized.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Binary.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/binary-0.8.3.0/libHSbinary-0.8.3.0_p.a(Internal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Internal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Lazy.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/binary-0.8.3.0/libHSbinary-0.8.3.0_p.a(Get.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Internal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Internal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Prim.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Builder.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/binary-0.8.3.0/libHSbinary-0.8.3.0_p.a(Put.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Internal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/containers-0.5.7.1/libHScontainers-0.5.7.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Natural.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/containers-0.5.7.1/libHScontainers-0.5.7.1_p.a(Sequence.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(IOArray.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Imp.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/array-0.5.1.1/libHSarray-0.5.1.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/containers-0.5.7.1/libHScontainers-0.5.7.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Complex.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/containers-0.5.7.1/libHScontainers-0.5.7.1_p.a(Tree.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/binary-0.8.3.0/libHSbinary-0.8.3.0_p.a(Class.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Common.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Error.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Files.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(HsUnix.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Error.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Directory.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Common.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(CTimeval.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(POSIX.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/directory-1.2.6.2/libHSdirectory-1.2.6.2_p.a(Directory.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-boot-8.0.1/libHSghc-boot-8.0.1_p.a(PackageDb.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Maybes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(Block.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(Collections.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(Checkpoint.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(Unique.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(Label.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(Graph.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(Fuel.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(Dataflow.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(UniqFM.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(UniqSet.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-boot-th-8.0.1/libHSghc-boot-th-8.0.1_p.a(Lexeme.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Lexeme.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(OccName.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(NameSet.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FieldLabel.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Avail.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RdrName.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PrelNames.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Name.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(UniqDFM.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Pair.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PatSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ConLike.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Demand.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CostCentre.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Literal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(genSym.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(UniqSupply.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Id.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(UniqDSet.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(VarSet.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreSeq.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreStats.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PprCore.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmType.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PrimOp.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FV.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(OrdList.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ListSetOps.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreFVs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Kind.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Unify.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TrieMap.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FamInstEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/containers-0.5.7.1/libHScontainers-0.5.7.1_p.a(Graph.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Digraph.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(OccurAnal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Class.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(InstEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcType.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(OptCoercion.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreSubst.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreArity.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreUnfold.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcEvidence.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PlaceHolder.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsDoc.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsTypes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsLit.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsPat.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(BooleanFormula.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsBinds.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ForeignCall.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsDecls.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsExpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(MkCore.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PrelRules.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(MkId.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Constants.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TysWiredIn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TysPrim.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Coercion.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Type.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DataCon.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TyCon.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(IdInfo.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Var.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(VarEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TyCoRep.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoAxiom.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(NameEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Annotations.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsImpExp.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(IfaceType.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(IfaceSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Coerce.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(RemoteTypes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ByteCodeTypes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(Private.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(HsTime.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(TimeZone.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(TimeOfDay.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(OrdinalDate.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(MonthDay.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(Gregorian.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(LocalTime.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Exception.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HscTypes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Plugins.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Hooks.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DriverPhases.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-boot-th-8.0.1/libHSghc-boot-th-8.0.1_p.a(Type.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Platform.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DynFlags.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PackageConfig.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FiniteMap.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Packages.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Module.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Outputable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(execvpe.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Internals.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Dynamic.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Signals.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Panic.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(IORef.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Util.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Bag.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Exit.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(sysconf.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(CPUTime.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ErrUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-plugin-0.1.0.0-IPt2OHjhrjX1NFtlA4jX37/libHSdata-bitcode-plugin-0.1.0.0-IPt2OHjhrjX1NFtlA4jX37_p.a(Monad.p_o)
    found __mod_init_func
prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziLLVMziGenziMonad: 23 CC, 2, CCS
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CLabel.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmMachOp.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmExpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/pretty-1.1.3.3/libHSpretty-1.1.3.3_p.a(HughesPJ.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/pretty-1.1.3.3/libHSpretty-1.1.3.3_p.a(HughesPJ.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/binary-0.8.3.0/libHSbinary-0.8.3.0_p.a(Generic.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(CallingConv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Type.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Binary.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Cast.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Linkage.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Visibility.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(ThreadLocalMode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(StorageClass.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Value.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Flags.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Cmp.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Identification.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Pretty.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(ToSymbols.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Instruction.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Function.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(LLVM.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Util.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF/libHSdata-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF_p.a(Types.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8/libHSdata-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8_p.a(BitCode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Blocks.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Type.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Constants.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(ValueSymtab.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Function.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(Module.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC/libHSdata-bitcode-llvm-3.8.0.0-HDV2uEZommFDjtO2vL5qVC_p.a(ToBitCode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/.stack/snapshots/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/base16-bytestring-0.1.1.6-5dPoF8dzhwzBaEB2MvnmIS/libHSbase16-bytestring-0.1.1.6-5dPoF8dzhwzBaEB2MvnmIS_p.a(Base16.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8/libHSdata-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8_p.a(Monad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8/libHSdata-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8_p.a(Combinators.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8/libHSdata-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8_p.a(FixedAbbrev.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8/libHSdata-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8_p.a(ToBits.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8/libHSdata-bitcode-0.1.0.0-K4AdGj4MsZA4RP3ZRJNAn8_p.a(Writer.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF/libHSdata-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF_p.a(Values.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF/libHSdata-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF_p.a(Monad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(String.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Identity.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF/libHSdata-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF_p.a(EDSL.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RegClass.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Reg.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ARM64.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ARM.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SPARC.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(X86_64.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(X86.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PPC.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PPC_Darwin.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(NoRegs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Platform.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF/libHSdata-bitcode-edsl-0.1.0.0-Bd4sNCyWKcfFY6c7iYVlrF_p.a(Instructions.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Classes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/transformers-0.5.2.0/libHStransformers-0.5.2.0_p.a(Except.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PprCmmExpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmSwitch.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmNode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PlatformConstants.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SMRep.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PprCmmDecl.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Cmm.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Dataflow.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(BlockId.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PprCmm.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CgUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Stream.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-plugin-0.1.0.0-IPt2OHjhrjX1NFtlA4jX37/libHSdata-bitcode-plugin-0.1.0.0-IPt2OHjhrjX1NFtlA4jX37_p.a(Gen.p_o)
    found __mod_init_func
prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziLLVMziGen: 475 CC, 285, CCS
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/process-1.4.2.0/libHSprocess-1.4.2.0_p.a(Common.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Utils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(TopHandler.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Common.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/unix-2.7.2.0/libHSunix-2.7.2.0_p.a(Common.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/process-1.4.2.0/libHSprocess-1.4.2.0_p.a(runProcess.p_o)
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/process-1.4.2.0/libHSprocess-1.4.2.0_p.a(Posix.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/process-1.4.2.0/libHSprocess-1.4.2.0_p.a(Process.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(Chan.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PprBase.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Types.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Regs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(MetaData.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PpLlvm.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SysTools.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Finder.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Elf.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Bitmap.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmInfo.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmBuildInfoTables.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/base-4.9.0.0/libHSbase-4.9.0.0_p.a(IORef.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(IOEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcRnTypes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreTidy.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Rules.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(IfaceEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcRnMonad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcTypeNats.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/template-haskell-2.11.0.0/libHStemplate-haskell-2.11.0.0_p.a(Syntax.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(Binary.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-boot-8.0.1/libHSghc-boot-8.0.1_p.a(LanguageExtensions.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(FFI.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(Message.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(SizedSeq.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(ResolvedBCO.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(CreateBCO.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(TH.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(InfoTable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(ObjLink.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(BreakArray.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghci-8.0.1/libHSghci-8.0.1_p.a(Run.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(GHCi.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ByteCodeLink.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmClosure.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmCallConv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(MkGraph.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmMonad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmArgRep.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmTicky.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmProf.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmLayout.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ByteCodeItbls.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ByteCodeAsm.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Linker.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(THNames.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StringBuffer.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ApiAnnotation.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Ctype.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Lexer.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RdrHsSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RnEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FunDeps.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcMType.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcUnify.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcHsSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Inst.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FamInst.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcErrors.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcSMonad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcFlatten.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcCanonical.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcInteract.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcSimplify.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcValidity.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcHsType.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcPat.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcMatches.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcBinds.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(BuildTyCl.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcTyDecls.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcPatSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsMonad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcArrows.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcExpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(MatchLit.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsGRHSs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsBinds.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(MatchCon.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PmExpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TmOracle.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Check.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Match.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsArrows.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsMeta.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsListComp.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsExpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/template-haskell-2.11.0.0/libHStemplate-haskell-2.11.0.0_p.a(Map.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/template-haskell-2.11.0.0/libHStemplate-haskell-2.11.0.0_p.a(PprLib.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/template-haskell-2.11.0.0/libHStemplate-haskell-2.11.0.0_p.a(Ppr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Convert.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RnNames.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcAnnotations.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RnPat.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RnBinds.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RnExpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RnSource.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RnSplice.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RnTypes.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcSplice.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreMonad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreLint.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcIface.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PrelInfo.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(BinIface.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(LoadIface.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FlagChecker.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hpc-0.6.0.3/libHShpc-0.6.0.3_p.a(Util.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(Locale.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(WeekDate.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/time-1.6.0.1/libHStime-1.6.0.1_p.a(Parse.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hpc-0.6.0.3/libHShpc-0.6.0.3_p.a(Mix.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Coverage.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StaticPtrTable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsCCall.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DsForeign.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Desugar.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(MkIface.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcClassDcl.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcTyClsDecls.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcGenDeriv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcGenGenerics.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcDeriv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcInstDcls.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PprTyThing.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcForeign.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcDefaults.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcRules.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcTypeable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HaddockUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HsSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Parser.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HeaderInfo.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CorePrep.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TidyPgm.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TcRnDriver.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SimplMonad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SimplEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SimplUtils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Simplify.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CSE.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(WwLib.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(WorkWrap.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DmdAnal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(UnVarGraph.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CallArity.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SAT.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(LiberateCase.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FloatIn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SetLevels.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FloatOut.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Env.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Global.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Naming.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Local.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(InstEnv.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PADict.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Type.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Convert.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Poly.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Hoisting.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Initialise.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Monad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Utils.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Var.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Vect.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Closure.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Exp.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Description.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PAMethods.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PADict.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Classify.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TyConDecl.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PData.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Env.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Vectorise.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SpecConstr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Specialise.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SimplCore.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ByteCodeInstr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ByteCodeGen.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CPrim.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PprC.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Imm.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(AddrMode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Format.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Regs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Instruction.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Cond.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Stack.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Regs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Regs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RegInfo.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TargetReg.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Instr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Expand.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmOpt.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Cond.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Instr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Cond.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Instr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(NCGMonad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PIC.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(State.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Liveness.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FreeRegs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FreeRegs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FreeRegs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FreeRegs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(FreeRegs.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Stats.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StackMap.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(State.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(JoinToTargets.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Main.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Debug.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Constants.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Types.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Dwarf.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(GraphBase.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(GraphOps.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(TrivColorable.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SpillCost.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(GraphPpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Spill.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Stats.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CodeGen.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CodeGen.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Base.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CondCode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Gen32.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Amode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Gen64.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Ppr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Sanity.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CodeGen.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ShortcutJump.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Ppr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(RegInfo.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Ppr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(AsmCodeGen.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(AbsSyn.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Data.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(Ppr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CodeGen.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(LlvmCodeGen.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/hoopl-3.10.2.1/libHShoopl-3.10.2.1_p.a(XUtil.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmLive.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmLint.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CodeOutput.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HscStats.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(ProfInit.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmHeap.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmForeign.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmCon.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmPrim.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmHpc.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmExpr.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmBind.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmm.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmContFlowOpt.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmImplementSwitchPlans.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmProcPoint.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmLayoutStack.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmSink.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmCommonBlockElim.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmPipeline.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CoreToStg.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgLint.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SCCfinal.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgStats.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(UnariseStg.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(SimplStg.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(StgCmmExtCode.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmLex.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(CmmParse.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(HscMain.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(PipelineMonad.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/bytestring-0.10.8.1/libHSbytestring-0.10.8.1_p.a(Char8.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(LlvmMangler.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/opt-prof/lib/ghc-8.0.1/ghc-8.0.1/libHSghc-8.0.1_p.a(DriverPipeline.p_o)
    found __mod_init_func
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-plugin-0.1.0.0-IPt2OHjhrjX1NFtlA4jX37/libHSdata-bitcode-plugin-0.1.0.0-IPt2OHjhrjX1NFtlA4jX37_p.a(Hooks.p_o)
    found __mod_init_func
prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziHooks: 21 CC, 11, CCS
*** ocRunInit_MachO: /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/lib/x86_64-osx-ghc-8.0.1/data-bitcode-plugin-0.1.0.0-IPt2OHjhrjX1NFtlA4jX37/libHSdata-bitcode-plugin-0.1.0.0-IPt2OHjhrjX1NFtlA4jX37_p.a(Plugin.p_o)
    found __mod_init_func
prof_init_datazmbitcodezmpluginzm0zi1zi0zi0zmIPt2OHjhrjX1NFtlA4jX37_DataziBitCodeziPlugin: 3 CC, 2, CCS
loading package database /Users/angerman/opt-prof/lib/ghc-8.0.1/package.conf.d
loading package database /Users/angerman/.stack/snapshots/x86_64-osx/lts-7.1/8.0.1/pkgdb
loading package database /Users/angerman/Projects/Haskell/data-bitcode-plugin/.stack-work/install/x86_64-osx/lts-7.1/8.0.1/pkgdb
wired-in package ghc-prim mapped to ghc-prim-0.5.0.0
wired-in package integer-gmp mapped to integer-gmp-1.0.0.1
wired-in package base mapped to base-4.9.0.0
wired-in package rts mapped to rts-1.0
wired-in package template-haskell mapped to template-haskell-2.11.0.0
wired-in package ghc mapped to ghc-8.0.1
wired-in package dph-seq not found.
wired-in package dph-par not found.
*** Chasing dependencies:
Chasing modules from: *examples/HelloWorld.hs
!!! Chasing dependencies: finished in 1.53 milliseconds, allocated 1.053 megabytes
angerman added a subscriber: Phyx.Oct 6 2016, 5:09 AM

Further digging revealed, we end up in

if (oc->status != OBJECT_NEEDED) {
    return 1;
}

and there fore exit ocTryLoad early.

Which was introduced in D1805 by @Phyx.

angerman updated this revision to Diff 8901.Oct 6 2016, 5:32 AM
angerman edited edge metadata.

This adds the initProfiling2 back in. In D1805 the loading logic
was changed to be lazy, however the initProfiling2 still expected
it to be eager.

I'm positive this rectifies the the profiling issue I've run into with plugins. However I'm a bit confused as to why this happened only to me; this looks like it could have broken all kinds of profiling.

Phyx added a comment.Oct 6 2016, 6:01 AM

I'm quite surprised we didn't have any tests that caught this.

Great work!

I'm completely ignorant about the profiling code, is there any risk to calling actualPush_ for the same object multiple times?
It looks like initProfiling2() would run over the previously existing cost center too and re-initialize them.

Bear in mind that this code can run at any time a new symbol is needed from a previously not loaded oc.

Phyx added a comment.Oct 6 2016, 6:05 AM

@angerman I don't know how plugins get initialized. I suspect for a normal code being profiled the values are always immediately used.

In which case they'll end up in the list of objects to load immediately on startup. Which would preserve the old semantics.

I'm completely ignorant about the profiling code, is there any risk to calling actualPush_ for the same object multiple times?
It looks like initProfiling2() would run over the previously existing cost center too and re-initialize them.

Bear in mind that this code can run at any time a new symbol is needed from a previously not loaded oc.

I don't think so, and I can't see how we'd call that actually twice for the identical object. The initializer generated in ProfInit.hs generate the CCS_REGISTER which can be found in CCS.h, which prepend the ccs to the CCS_LIST, and initProfiling2 Profiling.c, essentially eats up the CCS_LIST and leaves it NULL.

Unless we run into some race conditions, I would assume we are safe here.

Phyx added a comment.Oct 6 2016, 6:38 AM

Fair enough. I only looked at the code for initProfiling2() and not how CCS_LIST is constructed hence my question.

simonmar accepted this revision.Oct 6 2016, 8:55 AM
simonmar edited edge metadata.

nicecatch

The reason this hasn't hurt anyone else is that most programs don't use the dynamic linker, and it's only recently become possible to use GHC with profiling and dynamic linking.

This revision is now accepted and ready to land.Oct 6 2016, 8:55 AM
angerman updated this revision to Diff 8920.Oct 6 2016, 11:54 PM
angerman edited edge metadata.

rebase onto master; with staging-area

This revision was automatically updated to reflect the committed changes.