Displaying 19 results from an estimated 19 matches for "inputfilenam".
Did you mean:
inputfilename
2003 May 22
1
[LLVMdev] allow gcc .... /full/path/to/libfoo.a
...it into LibPaths in the beginning of
main().
Make LoadLibrary() take a "search" flag that says whether to search for the
correct library, or just trust that LibName is right.
Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary().
Change the for-loop over InputFilenames to detect ar archives and link them
in as libraries without searching.
Change the for-loop over Libraries to explicitly turn on the "search" flag
to LinkLibrary() that makes LoadLibrary() search for the correct library
(i.e., when processing -lNAME options.)
cvs diff: Diffing ....
2007 Jul 05
2
[LLVMdev] PATCH (rest of code changes) "bytecode" --> "bitcode"
Here is the bulk of the sanitizing.
My residual doubts center around the question
whether we still do/want to support (un)compressed *byte*code
in 2.0/2.1.
I need a definitive word on this to proceed.
My understanding is that bytecode is already gone, but there are
still some functions/enums that really deal with *byte*code
(instead of *bit*code).
I did not touch those areas, so the attached
2006 Jun 07
1
Errno::ENOENT (No such file or directory
...cratch/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
`process''
.....
any input on how do I reolve this? I''m chaging the windows to fwd slash
in my method. I guess I can access file on windows from linux box.
def convertTo
inputfilename = params[:inputfilename].gsub("\\","/")
end
--
Posted via http://www.ruby-forum.com/.
2010 Mar 03
2
uint decode error on visual studio...
...or" on
windows, but on linux it's just peachy.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libcelt/celt.h>
int gBitRate=128000;
int gFrameSize=256;
int gSampleRate=44100;
int gNrChannels=1;
int main(int argc, char* argv[])
{
const char* inputfilename="..\\input_mono.snd";
const char* encodedfilename="..\\encoded_mono.celt";
const char* outputfilename="..\\output_mono.snd";
FILE* encodedfile=0;
FILE* inputfile=fopen(inputfilename,"rb");
if(!inputfile)
{
printf("ERROR opening %s for reading\n"...
2004 May 11
1
[LLVMdev] Follow-up on: Dynamic updates of current executed code
...ionEngine/ExecutionEngine.cpp . It will compile
>the given Function* to machine code, and return a pointer to you. In
>your LLVM code, you will have to first cast your function pointer before
>storing it, but it should work as you have it.
1) Can a modified version of ParseAssemblyFile(InputFilename) that takes a pointer to LLVM code in memory instead be used to generate a Function* for use by the getPointerToGlobal()? I understand that it currently returns a Module*. Is it possible to make it return an F* instead, and if so how would the implementation roughly look like?
2) Can this functi...
2010 Aug 19
1
[LLVMdev] questions about context
Hi,
I am trying to load another bytecode file in one pass.
I checked the opt.cpp, it uses following to load a bytecode file:
...
LLVMContext &Context = getGlobalContext();
...
SMDiagnostic Err;
// Load the input module...
std::auto_ptr<Module> M;
M.reset(ParseIRFile(InputFilename, Err, Context));
...
My question is in the runOnModule method where I want to load another
bytecode file, what context should I use? Is getGlobalContext() still OK?
Thanks,
Guoliang
2006 Feb 23
2
Problem with List() Inside Function
I have a function declared thus.
FirstEigenvectorBoundary.Training <-
function(InputFileName='C:/Samples2/PT_Amp.txt',
Header=TRUE, Colour="red")
Inside the function, I have the following call
out<-list(x=Eigenvectors[2:(NumMetricsSelected+1),1],
y=-0.8, z=NumMetricsSelected);
NumMetricsSelected has the value 2 and Eigenvectors
has the following form
[,1...
2005 Aug 01
2
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
...s::Path &gcc, char ** const envp,
bool Shared,
+ bool ExportAllAsDynamic,
const std::string &RPath,
const std::string &SOName,
bool Verbose) {
@@ -400,6 +400,7 @@
args.push_back(InputFilename.c_str());
if (Shared) args.push_back("-shared");
+ if (ExportAllAsDynamic) args.push_back("-export-dynamic");
if (!RPath.empty()) {
std::string rp = "-Wl,-rpath," + RPath;
args.push_back(rp.c_str());
Index: tools/gccld/gccld.cpp
====================...
2017 Nov 13
4
How to objcopy via LLVM toolchain for armv7e-m ELF32LE?
Hi LLVM developers,
As PR35281 mentioned:
$ llvm-objcopy -O binary llvm-cortex-m7.elf llvm-cortex-m7.bin
llvm-objcopy: 'llvm-cortex-m7.elf': The file was not recognized as a
valid object file.
if (ELFObjectFile<ELF64LE> *o =
dyn_cast<ELFObjectFile<ELF64LE>>(&Binary))
https://github.com/llvm-mirror/llvm/blob/master/tools/llvm-objcopy/llvm-objcopy.cpp#L200
2007 Apr 06
1
[LLVMdev] LLVM command options in Visual Studio
...ion.
I did it as you mentioned.
That is, I set '-march=x86 hello.bc' in the Command Arguments.
(I also set my compiled LLC, i.e., LLVM_ROOT_DIR\win32\debug\llc.exe, in the property name Command.)
But, when I made a breakpoint in main( ) of llc.cpp and then started to debug I found the 'InputFilename'(llc.cpp:176) is shown like {???}. Therefore it didn't proceed further, spitting out 'bytecode didn't read correctly.'
(Of course, my bytecode was trasferred to my computer as binary.)
Would you mind telling me what seems my problem?
Thank you so much.
Seung Jae Lee
---- Ori...
2005 Aug 02
0
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
...n sys::Program::ExecuteAndWait(llc, &args[0]);
}
-/// GenerateNative - generates a native assembly language source file from the
-/// specified assembly source file.
+/// GenerateNative - generates a native executable file from the specified
+/// assembly source file.
///
/// Inputs:
/// InputFilename - The name of the output bytecode file.
@@ -365,6 +364,7 @@
const std::vector<std::string> &Libraries,
const sys::Path &gcc, char ** const envp,
bool Shared,
+ bool ExportAllAsDynam...
2014 Jul 02
2
[LLVMdev] Porting pass from llvm 3.1 to 3.4
....
I'm having two linking problems and I couldn't find the source of the
problem. Usually it is an error for a virtual method not declared. The
error starts even when changing llvm version from 3.1 to 3.2.
The current line declaring an command line option:
-----
static cl::opt<string> InputFilename(cl::Positional, cl::Required,
cl::desc("<input bitcode file>"), cl::init("-"),
cl::value_desc("filename"));
And the class declaration:
class Ids : public ModulePass {
}
-----
Gives me these linking time errors:
cd /home/sampaio/3.2/ddg/build/tools/dynamic-gra...
2017 Aug 22
5
[RFC] mir-canon: A new tool for canonicalizing MIR for cleaner diffing.
Patch for review.
On Mon, Aug 21, 2017 at 11:45 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com>
wrote:
> Ping.
>
> Still working on preparing code for review. Will have a patch for review
> ready in the coming days.
>
> PL
>
> On Tue, Aug 15, 2017 at 12:06 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com>
> wrote:
>
>> Hi,
>>
>>
>>
2006 May 17
0
[LLVMdev] Obfuscation with LLVM
...include "llvm/Analysis/Verifier.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Bytecode/WriteBytecodePass.h"
#include "MakeDispatcherPass.h"
using namespace llvm;
static cl::opt< std::string >
InputFilename( cl::Positional, cl::desc( "<input .bc file>" ), cl::Required
);
static cl::opt< std::string >
OutputFilename( cl::Positional, cl::desc( "<output .bc file>" ),
cl::Required );
static cl::opt< bool >
NoVerify( "disable-verify", cl::desc( "...
2019 Nov 18
2
Unable to parse command line more than once using llvm libraries?
Thanks,
I tried calling ResetAllOptionOccurrences after the run like this…
// Compile the module TimeCompilations times to give better compile time
// metrics.
for (unsigned I = TimeCompilations; I; --I)
if (int RetVal = compileModule(argv, Context))
return RetVal;
if (YamlFile)
YamlFile->keep();
cl::ResetAllOptionOccurrences();
return 0;
}
Unfortunately
2014 Dec 19
2
[LLVMdev] [Patches][RFC] What to do about bitcode streaming.
...e) {
> diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp
> index 072f636..3e21164 100644
> --- a/tools/llvm-dis/llvm-dis.cpp
> +++ b/tools/llvm-dis/llvm-dis.cpp
> @@ -135,12 +205,13 @@ int main(int argc, char **argv) {
> else
> DisplayFilename = InputFilename;
> ErrorOr<std::unique_ptr<Module>> MOrErr =
> - getStreamedBitcodeModule(DisplayFilename, Streamer, Context);
> + getStreamedBitcodeModule(DisplayFilename, std::move(Streamer), Context);
> if (std::error_code EC = MOrErr.getError())
> Erro...
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 12:36 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
>
> On 2017-Apr-04, at 12:12, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>>
>> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>>
2004 Apr 20
2
[LLVMdev] Dynamic updates of current executed code
Thanks!
Problem is though, that the Ruby compiler is integrated in the compilation of the program being executed, to be able to parse & compile dynamic code at run-time. Therefore the calls to ExecutionEngine::getPointerToGlobal(F) need to be made in LLVM code. Here is a detailed simplistic example in pseudocode of what we want to do:
First Ruby code is entered at run-time, received as a
2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
On 9/7/2012 12:12 PM, Krzysztof Parzyszek wrote:
> On 9/7/2012 7:20 AM, Matthew Curtis wrote:
>>
>> The attached patch implements one possible solution. It introduces a
>> position stack and a couple of directives:
>>
>> * 'CHECK-PUSH:' pushes the current match position onto the stack.
>> * 'CHECK-POP:' pops the top value off of the stack