mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-11 21:06:04 +00:00

Changes to the underlying logging infrastructure in Fall 2016 Darwin OSes were no longer showing up NSLog messages in command-line LLDB. This change restores that functionality, and adds test cases to verify the new behavior. rdar://26732492 llvm-svn: 275472
19 lines
517 B
C++
19 lines
517 B
C++
//===-- main.m --------------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include <Foundation/Foundation.h>
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
printf("About to log\n"); // break here
|
|
NSLog(@"This is a message from NSLog");
|
|
|
|
return 0;
|
|
}
|