Skip to content

Instantly share code, notes, and snippets.

@modocache
Created January 11, 2017 17:51
Show Gist options
  • Save modocache/4f5ac2ecf5d263be5c14b206b6bc47ed to your computer and use it in GitHub Desktop.
Save modocache/4f5ac2ecf5d263be5c14b206b6bc47ed to your computer and use it in GitHub Desktop.
diff --cc lib/IRGen/IRGenModule.cpp
index 099d3c0,03468f7..0000000
--- a/lib/IRGen/IRGenModule.cpp
+++ b/lib/IRGen/IRGenModule.cpp
@@@ -93,9 -93,7 +93,13 @@@ static clang::CodeGenerator *createClan
case IRGenDebugInfoKind::LineTables:
CGO.setDebugInfo(clang::codegenoptions::DebugInfoKind::DebugLineTablesOnly);
break;
++<<<<<<< a513ba4847a45aed980eb1a85b811edb9ff20412
+ case IRGenDebugInfoKind::ASTTypes:
+ // TODO: Enable -gmodules for the clang code generator.
+ case IRGenDebugInfoKind::DwarfTypes:
++=======
+ case IRGenDebugInfoKind::Normal:
++>>>>>>> [upstream-update] Rename of namespace clang::CodeGenOptions => clang::codegenoptions. NFC.
CGO.setDebugInfo(clang::codegenoptions::DebugInfoKind::FullDebugInfo);
break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment