Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 556430 Details for
Bug 672036
sys-devel/llvm: Linking with LLVM includes extra positional arguments in CommandLine library
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test program to reproduce the bug
gentoo-llvm-repro.cpp (text/x-c++src), 330 bytes, created by
Magnus Lång
on 2018-11-26 23:46:32 UTC
(
hide
)
Description:
Test program to reproduce the bug
Filename:
MIME Type:
Creator:
Magnus Lång
Created:
2018-11-26 23:46:32 UTC
Size:
330 bytes
patch
obsolete
>#include <llvm/Support/CommandLine.h> > >#include <iostream> > >llvm::cl::opt<std::string> >cl_input(llvm::cl::desc("<actual input file>"), > llvm::cl::Positional, > llvm::cl::init("-")); > >int main(int argc, char *argv[]){ > llvm::cl::ParseCommandLineOptions(argc, argv); > > std::cout << cl_input << "\n"; > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 672036
: 556430