diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-31 16:44:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-31 16:44:54 +0000 |
commit | f13721dd91dda7675e499331a2770308ad20ca61 (patch) | |
tree | c1b26e222e30aca3f4203e05ae89719de1a059a4 /lib/Basic/Targets.cpp | |
parent | 6ab55ebab20086f725c4017b48ef8d7691ef870f (diff) |
Add support for windows x86-64 varargs, patch by Cameron Esfahani!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index ebda7fbc41..df20defa0f 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1506,6 +1506,9 @@ public: Builder.defineMacro("_M_X64"); Builder.defineMacro("_INTEGRAL_MAX_BITS", "64"); } + virtual const char *getVAListDeclaration() const { + return "typedef char* __builtin_va_list;"; + } }; } // end anonymous namespace |