[Lldb-commits] [lldb] r352159 - Define the _fltused symbol in one lldb test as well, post-r352076.
James Y Knight via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 24 19:21:24 PST 2019
Author: jyknight
Date: Thu Jan 24 19:21:23 2019
New Revision: 352159
URL: http://llvm.org/viewvc/llvm-project?rev=352159&view=rev
Log:
Define the _fltused symbol in one lldb test as well, post-r352076.
Modified:
lldb/trunk/lit/SymbolFile/NativePDB/function-types-builtins.cpp
Modified: lldb/trunk/lit/SymbolFile/NativePDB/function-types-builtins.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/NativePDB/function-types-builtins.cpp?rev=352159&r1=352158&r2=352159&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/NativePDB/function-types-builtins.cpp (original)
+++ lldb/trunk/lit/SymbolFile/NativePDB/function-types-builtins.cpp Thu Jan 24 19:21:23 2019
@@ -11,6 +11,10 @@
// This technique in general allows us to exercise most of LLDB's type
// system without a running process.
+// Define _fltused, since we're not linking against the MS C runtime, but use
+// floats.
+extern "C" int _fltused = 0;
+
template<typename T>
struct MakeResult {
static T result() {
More information about the lldb-commits
mailing list