diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-07-01 22:23:54 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-07-01 22:23:54 +0000 |
| commit | 6433f7c84d68039000785d818b2f139354a26f8c (patch) | |
| tree | 70655eef87f3c7082b5b85160ad01e77b3cd0870 /clang | |
| parent | 334d8eebe5ef1e24764967d737a24945c980ac2c (diff) | |
| download | bcm5719-llvm-6433f7c84d68039000785d818b2f139354a26f8c.tar.gz bcm5719-llvm-6433f7c84d68039000785d818b2f139354a26f8c.zip | |
Win64: Disable uwtable until we fix .pdata emission in LLVM
LLVM r211399 started emitting .pdata for win64 by default.
Unfortunately, it produces invalid object files. I plan to fix that
Soon. For now, don't request unwind tables. This fixes the clang-cl
self-host on win64.
llvm-svn: 212137
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/Driver/WindowsToolChain.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/lib/Driver/WindowsToolChain.cpp b/clang/lib/Driver/WindowsToolChain.cpp index a1ba7a7008a..913425a19f0 100644 --- a/clang/lib/Driver/WindowsToolChain.cpp +++ b/clang/lib/Driver/WindowsToolChain.cpp @@ -59,7 +59,11 @@ bool Windows::IsIntegratedAssemblerDefault() const { } bool Windows::IsUnwindTablesDefault() const { - return getArch() == llvm::Triple::x86_64; + // FIXME: LLVM's lowering of Win64 data is broken right now. MSVC's linker + // says that our object files provide invalid .pdata contributions. Until + // that is fixed, don't ask for unwind tables. + return false; + //return getArch() == llvm::Triple::x86_64; } bool Windows::isPICDefault() const { |

