search for: isabsolute

Displaying 9 results from an estimated 9 matches for "isabsolute".

Did you mean: is_absolute
2011 Apr 29
1
[LLVMdev] Building 2.9 on WinXP
...\..\lib\tblgen.exp LLVMSupport.lib(Path.cpp.obj) : error LNK2019: unresolved external symbol "__dec lspec(dllimport) public: void __thiscall std::exception::_Raise(void)const " (__ imp_?_Raise at exception@std@@QBEXXZ) referenced in function "public: bool __thisca ll llvm::sys::Path::isAbsolute(void)const " (?isAbsolute at Path@sys at llvm @@QBE_NXZ) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110428/915658aa/attachment.html>
2012 Jun 29
2
[LLVMdev] Comment "FIXME" in X86MachObjectWriter::RecordX86Relocation
Hi, In X86MachObjectWriter::RecordX86Relocation I found the comment if (Target.isAbsolute()) { // constant // SymbolNum of 0 indicates the absolute section. // // FIXME: Currently, these are never generated (see code below). I cannot // find a case where they are actually emitted. Type = macho::RIT_Vanilla; } Is the FIXME still true? I've got some code...
2009 Jul 03
0
[LLVMdev] [llvm-commits] [PATCH] Fix for llvm::FindExecutable (fails to find executable if path is provided)
...://llvm.org/viewvc/llvm-project?view=rev&revision=74645 so that relative paths work. Does this look reasonable to you? Also, does it work? :) - Daniel On Wed, Jul 1, 2009 at 10:04 AM, Viktor Kutuzov<vkutuzov at accesssoftek.com> wrote: > Hi Chris, > >> Please use sys::Path::isAbsolute to check to see if it is an absolute > > I didn't want to check if it is an absolute, I wanted to check if > there is any directory part (absolute or relative). Is there anything > wrong with relative path? It seems the right way to do this would be > adding Path::hasDirname()...
2006 Jul 05
2
Procmail patch for dovecot delivery
...{ char*chp,*chp2;mode_t mode;int fd,type; + +// GW: + char* program = getenv("DELIVER_PROGRAM"); + char* s_org_mail = getenv("ORGMAIL"); + + int deliver_inbox = isyes("DELIVER_INBOX"); + int deliver_absolute_path = isyes("DELIVER_ABSOLUTE_PATH"); + int isabsolute = boxname[0] == '/'; + int isinbox = 0; + if (s_org_mail) isinbox = !strcmp(s_org_mail, boxname); + + if (trydeliver && program && ((!isinbox && !isabsolute) || (isinbox && deliver_inbox) || (isabsolute && deliver_absolute_path)) ) + { + char s...
2012 Jun 29
0
[LLVMdev] Comment "FIXME" in X86MachObjectWriter::RecordX86Relocation
...some success w/ ELF. Hopefully someone more familiar with the specifics of that will chime in. -Jim On Jun 29, 2012, at 8:58 AM, Verena Beckham <verena at codeplay.com> wrote: > Hi, > > In X86MachObjectWriter::RecordX86Relocation I found the comment > > > if (Target.isAbsolute()) { // constant > // SymbolNum of 0 indicates the absolute section. > // > // FIXME: Currently, these are never generated (see code below). I > cannot > // find a case where they are actually emitted. > Type = macho::RIT_Vanilla; > } > > Is the FI...
2012 Jun 29
2
[LLVMdev] Comment "FIXME" in X86MachObjectWriter::RecordX86Relocation
...some success w/ ELF. Hopefully someone more familiar with the specifics of that will chime in. -Jim On Jun 29, 2012, at 8:58 AM, Verena Beckham <verena at codeplay.com> wrote: > Hi, > > In X86MachObjectWriter::RecordX86Relocation I found the comment > > > if (Target.isAbsolute()) { // constant > // SymbolNum of 0 indicates the absolute section. > // > // FIXME: Currently, these are never generated (see code below). I > cannot > // find a case where they are actually emitted. > Type = macho::RIT_Vanilla; > } > > Is the FI...
2012 Jul 02
0
[LLVMdev] Comment "FIXME" in X86MachObjectWriter::RecordX86Relocation
...familiar with the specifics of that will chime in. > > -Jim > > On Jun 29, 2012, at 8:58 AM, Verena Beckham<verena at codeplay.com> wrote: > >> Hi, >> >> In X86MachObjectWriter::RecordX86Relocation I found the comment >> >> >> if (Target.isAbsolute()) { // constant >> // SymbolNum of 0 indicates the absolute section. >> // >> // FIXME: Currently, these are never generated (see code below). I >> cannot >> // find a case where they are actually emitted. >> Type = macho::RIT_Vanilla; &...
2010 Nov 07
3
[LLVMdev] Next round of DWARF issues/questions
...0 *** DWARF CHECK: DW_AT_decl_file: does not point to valid file info *** DW_AT_decl_file 65 DW_AT_decl_line 6 However, I've double- and triple-checked my code. The code that generates a DIFile looks like this: DASSERT(srcPath.isAbsolute()); DASSERT(dbgCompileUnit_.Verify()); file = dbgFactory_.CreateFile( srcPath.getLast(), srcPath.getDirname(), dbgCompileUnit_); And you can see in the earlier example that I'm passing the generated DIFile to CreateComplexTypeEx. -- -- Talin -------------- next part ------------...
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...+ if (IsPCRel && RelocType == MachO::ARM_RELOC_VANILLA) + Offset += 1 << Log2Size; + + // See <reloc.h>. + uint32_t FixupOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); + unsigned Index = 0; + unsigned IsExtern = 0; + unsigned Type = 0; + + if (Target.isAbsolute()) { // constant + // FIXME! + report_fatal_error("FIXME: relocations to absolute targets " + "not yet implemented"); + } else { + // Resolve constant variables. + if (SD->getSymbol().isVariable()) { + int64_t Res; + if (SD->get...