summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2009-08-26 20:58:25 +0000
committerReid Kleckner <reid@kleckner.net>2009-08-26 20:58:25 +0000
commitab7700479f64d7badfe3b822226dfbbb12edc719 (patch)
tree2228b92334b8f50c7d4d55312f2a21486b252278 /clang/lib/CodeGen/CodeGenModule.cpp
parenta5588bf3acab74e44f47825f8351cb415f5fe42f (diff)
downloadbcm5719-llvm-ab7700479f64d7badfe3b822226dfbbb12edc719.tar.gz
bcm5719-llvm-ab7700479f64d7badfe3b822226dfbbb12edc719.zip
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud