Revert "[COFF] Use 32-bit jump table entries in .rdata for Win64"
This reverts commit r290694. It broke sanitizer tests on Win64. I'll probably bring this back, but the jump tables will just live in .text like they do for MSVC. llvm-svn: 290714
This commit is contained in:
@@ -1055,13 +1055,6 @@ MCSection *TargetLoweringObjectFileCOFF::getSectionForJumpTable(
|
||||
COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE, UniqueID);
|
||||
}
|
||||
|
||||
bool TargetLoweringObjectFileCOFF::shouldPutJumpTableInFunctionSection(
|
||||
bool UsesLabelDifference, const Function &F) const {
|
||||
// We can always create relative relocations, so use another section
|
||||
// that can be marked non-executable.
|
||||
return false;
|
||||
}
|
||||
|
||||
void TargetLoweringObjectFileCOFF::emitModuleFlags(
|
||||
MCStreamer &Streamer, ArrayRef<Module::ModuleFlagEntry> ModuleFlags,
|
||||
const TargetMachine &TM) const {
|
||||
|
||||
Reference in New Issue
Block a user