LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 24124 - OSX - TestCModules failure
Summary: OSX - TestCModules failure
Status: NEW
Alias: None
Product: lldb
Classification: Unclassified
Component: All Bugs (show other bugs)
Version: unspecified
Hardware: PC MacOS X
: P normal
Assignee: LLDB commit list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-14 18:18 PDT by Oleksiy Vyalov
Modified: 2015-07-14 18:18 PDT (History)
0 users

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksiy Vyalov 2015-07-14 18:18:10 PDT
TestCModules is failing on OSX when running "expr @import Darwin; 3":

runCmd: expr @import Darwin; 3
runCmd failed!
error: import of C++ module 'Darwin.machine.types' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.cdefs' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._int8_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._int8_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._int16_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._int16_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._int32_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._int32_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._int64_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._int64_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._intptr_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._intptr_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._uintptr_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._uintptr_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.machine.types' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._dev_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._dev_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._mode_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
import of C++ module 'Darwin.POSIX.sys.types._mode_t' appears within extern "C" language linkage specification
extern "C" language linkage specification begins here
too many errors emitted, stopping now
could not build module 'Darwin'
error: Couldn't load top-level module Darwin
error: 1 errors parsing expression