Skip to content
Commit ab770047 authored by Reid Kleckner's avatar Reid Kleckner
Browse files

Allocate the module provider in the Kaleidoscope code on the heap, not the...

Allocate the module provider in the Kaleidoscope code on the heap, not the stack, so that it can be properly deleted.  Also update the tutorial with the new code.  This fixes PR4762, hopefully better than the last time.

llvm-svn: 80138
parent a5588bf3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment