diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-05 03:12:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-05 03:12:36 +0000 |
commit | 460b8bd15457469ecd62b581a275d2101648d0fb (patch) | |
tree | a3a9f96ddb0186699b65cf3b7b4259afdc7dc01b /lib/CodeGen/MachOWriter.cpp | |
parent | 1da31ee472b9615d7329c656e2cc17c419ed7c95 (diff) |
Verify that jump tables are emitted to the same section as the function is,
when codegen'ing in pic mode. This fixes a miscompilation of a switch stmt
in a template, as the template goes to a non-.text section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachOWriter.cpp')
0 files changed, 0 insertions, 0 deletions