summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-04-07 06:27:56 +0000
committerLang Hames <lhames@gmail.com>2015-04-07 06:27:56 +0000
commit2be1bbea7ec6f74f1415912005c05992548d06b6 (patch)
tree7151400c7eaa89270c8fbb984af13977d9da1ee8 /clang/lib/CodeGen/CodeGenFunction.cpp
parented96cb7fc6843b016219e893584e61b729159005 (diff)
downloadbcm5719-llvm-2be1bbea7ec6f74f1415912005c05992548d06b6.tar.gz
bcm5719-llvm-2be1bbea7ec6f74f1415912005c05992548d06b6.zip
[RuntimeDyld] Always allocate at least 1 byte for object sections in the JIT to
ensure that section addresses are distinct. mapSectionAddress will fail if two sections are allocated the same address, which can happen if any section has zero size (since malloc(0) is implementation defined). Unfortunately I've been unable to repro this with a simple test case. Fixes <rdar://problem/20314015>. llvm-svn: 234299
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud