[Lldb-commits] [Bug 12340] New: Build fail on Linux (rev 153340)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Mar 23 10:13:32 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12340
Bug #: 12340
Summary: Build fail on Linux (rev 153340)
Product: lldb
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
AssignedTo: lldb-commits at cs.uiuc.edu
ReportedBy: boundstates at gmail.com
Classification: Unclassified
Hi all,
Just updated to 153340, had a couple of minor issues which the following patch
worked around.
ProcessMonitor.cpp
------------------
I thought ProcessMonitor.cpp seemed like the sensible place for the procfs.h
#include, over ProcessLinux.h or similar (needed for the user reg structures).
ClangASTContext.cpp
-------------------
The NoInlineDefine seemed to match the LANGOPT() decl, which I took as the
master (given the comments about it).
Cheers, thanks for all the work.
T
----%<----
Index: source/Plugins/Process/Linux/ProcessMonitor.cpp
===================================================================
--- source/Plugins/Process/Linux/ProcessMonitor.cpp (revision 153340)
+++ source/Plugins/Process/Linux/ProcessMonitor.cpp (working copy)
@@ -16,6 +16,7 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <sys/procfs.h>
// C++ Includes
// Other libraries and framework includes
@@ -429,7 +430,7 @@
m_result = false;
else
{
- m_value = data;
+ m_value = (unsigned)data;
m_result = true;
}
if (log)
Index: source/Symbol/ClangASTContext.cpp
===================================================================
--- source/Symbol/ClangASTContext.cpp (revision 153340)
+++ source/Symbol/ClangASTContext.cpp (working copy)
@@ -353,7 +353,7 @@
// inlining enabled.
//
// FIXME: This is affected by other options (-fno-inline).
- Opts.NoInline = !Opt;
+ Opts.NoInlineDefine = !Opt;
// unsigned SSP = getLastArgIntValue(Args, OPT_stack_protector, 0, Diags);
// switch (SSP) {
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the lldb-commits
mailing list