source: trunk/dports/lang/clang-3.2/files/tiger.patch @ 92461

Last change on this file since 92461 was 92461, checked in by jeremyhu@…, 5 years ago

{clang,dragonegg,llvm}-3.2: New ports tracking llvm trunk development through the release of 3.2

File size: 1.1 KB
  • lib/Support/Unix/Signals.inc

    diff --git a/lib/Support/Unix/Signals.inc b/lib/Support/Unix/Signals.inc
    index c9ec9fc..8cc4f41 100644
    a b void llvm::sys::PrintStackTraceOnErrorSignal() { 
    267267  AddSignalHandler(PrintStackTrace, 0);
    268268
    269269#if defined(__APPLE__)
     270
     271/* These aren't defined in the 10.4 SDK, so provide them here */
     272#ifndef EXC_MASK_CRASH
     273#define EXC_MASK_CRASH 0x400
     274#endif
     275#ifndef MACH_EXCEPTION_CODES
     276#define MACH_EXCEPTION_CODES 0x80000000
     277#endif
     278
    270279  // Environment variable to disable any kind of crash dialog.
    271280  if (getenv("LLVM_DISABLE_CRASH_REPORT")) {
    272281    mach_port_t self = mach_task_self();
  • (a) a/tools/clang/tools/libclang/CIndex.cpp.orig vs. (b) b/tools/clang/tools/libclang/CIndex.cpp

    a b void SetSafetyThreadStackSize(unsigned V 
    57545754
    57555755void clang::setThreadBackgroundPriority() {
    57565756  // FIXME: Move to llvm/Support and make it cross-platform.
    5757 #ifdef __APPLE__
     5757#if defined(__APPLE__) && defined(PRIO_DARWIN_THREAD) && defined(PRIO_DARWIN_BG)
    57585758  setpriority(PRIO_DARWIN_THREAD, 0, PRIO_DARWIN_BG);
    57595759#endif
    57605760}
Note: See TracBrowser for help on using the repository browser.