Experimental TBAA support for enum types.
llvm-svn: 116613
This commit is contained in:
@@ -83,7 +83,8 @@ CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO,
|
||||
|
||||
// Enable TBAA unless it's suppressed.
|
||||
if (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)
|
||||
TBAA = new CodeGenTBAA(Context, VMContext, getLangOptions());
|
||||
TBAA = new CodeGenTBAA(Context, VMContext, getLangOptions(),
|
||||
ABI.getMangleContext());
|
||||
|
||||
// If debug info generation is enabled, create the CGDebugInfo object.
|
||||
DebugInfo = CodeGenOpts.DebugInfo ? new CGDebugInfo(*this) : 0;
|
||||
|
||||
Reference in New Issue
Block a user