Displaying 20 results from an estimated 600 matches similar to: "Longstanding failing tests - clang-tidy, MachO, Polly"
2020 Jan 23
2
Longstanding failing tests - clang-tidy, MachO, Polly
So, for this test case:
extern "C" void shouldBeUnconditional();
extern "C" void shouldBeConditional();
extern "C" void otherCall();
void testFn(bool Bool1, bool Bool2) {
Bool1 |= Bool2;
shouldBeUnconditional();
if (Bool1)
shouldBeConditional();
if (Bool2) {
otherCall();
if (Bool1)
otherCall();
}
}
MSVC generates this buggy asm:
$ cl -c
2018 Nov 03
2
llvm bug 36466 fix
Hi
I come across the following exception when I use the llvm-dwarfdump
-debug-info target_binary:
llvm-dwarfdump: /home/linux/llvm-7/llvm/lib/MC/MCRegisterInfo.cpp:87: int
llvm::MCRegisterInfo::getLLVMRegNum(unsigned int, bool) const: Assertion `I
!= M+Size && I->FromReg == RegNum && "Invalid RegNum"' failed.
Stack dump:
0. Program arguments:
2018 Nov 03
2
llvm bug 36466 fix
Hi Dave
I am not going to access any hardware. I am using clang to analysis the ARM
binaries. The binary is 483.xalancbmk in CPU SPEC2006. When I use the
optimization O0, no crash will occur. The crash occurs when I set
optimization level as O1,O2,O3 and Os.
If I have to recompile and rerun the tests. What version of llvm is
suggested. It would be better if anyone could provide the patch on this
2018 Nov 03
2
llvm bug 36466 fix
Hi Dave
Sorry, I meant the hardware you're using to compile LLVM - you mentioned it
took you a long time to rebuild it so it would be hard for you to
write/experiment on tests.
=============================
Compiling LLVM doesn't take me too much time(less than 2 hours). The
hardware is good enough and I am using interl E5 CPU. What I mean is that
it took me a long time to analysis the
2019 Apr 24
2
[DebugInfo] DWARF C API
Hi folks,
I am trying to implement the C bindings API for DebugInfo::DWARF::DWARFDie.
My goal is to have a C library that reads and parses DWARF debugging format
(just like how llvm-dwarfdump does, but maybe more than just dumping debug
info)
I've started with creating C structure for DebugInfo::DWARF::DWARFContext
which contains all DWARF DIEs in the object file. For this I used
```
2019 Apr 24
2
[DebugInfo] DWARF C API
Hi David,
Sorry, I forget to attach the valgrind dump to this. I was not sure if my
implementation was ok, so I wanted to ask if I've done something wrong
first.
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0xB
at 0x54F4516:
llvm::object::COFFObjectFile::moveSectionNext(llvm::object::DataRefImpl&)
const
2020 Aug 09
3
Switching to Ninja
Sigh. I ask for your indulgence yet again.
I installed Ninja and deleted my old build tree. When I run CMake now, I'm told that it can't find the compilers and assembler. So, of course, I need to put a compiler toolset on my path. I tried MinGW but was instantly reminded that it doesn't have localtime_s. So I tried to find the Visual Studio binaries and located four different
2020 Aug 08
5
Switching to Ninja
I built my first submission with Visual Studio, but everything I read and watch suggests Ninja, about which I know nothing. Is it okay if I rerun CMake with -G "Ninja" in the same build directory, then just run ninja?
2016 Mar 24
3
Polly as an Analysis pass in LLVM
On 03/23, Hongbin Zheng wrote:
> Hi Johannes,
>
> On Mon, Mar 21, 2016 at 6:35 PM, Johannes Doerfert <
> doerfert at cs.uni-saarland.de> wrote:
>
> > Hey Utpal,
> >
> > First of, I think you made nice process here and have some very good
> > ideas of what we could do in the future.
> >
> > [NOTE: I CC'ed some people that have shown
2018 Apr 01
2
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
Hi Paul,
How can i make this call to intrinsic from the c++ code ?
I'm not working with the IR language, but directly in C++ with
IRBuilder::CreateAlloca.
My goal is that one :
- Generate machine code with an instance of the class 'IRBuilder'
- Emit 'ObjFile' class instance with MCJIT
- Create a DwarfContext instance directly from the emitted ObjFile object
2018 Mar 31
2
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
Hi,
First, considering I'm using an IRBuilder and a DIBuilder to build my
program, how can I automatically bind the CreateAlloca with my named local
variable inside the DIBuilder ? Is it automatic with the Twine name of
CreateAlloca ? And/Or should I use DIBuilder::createAutoVariable and how ?
Then, I'm wondering how to locate back my local variable in memory
(register or stack) once i
2016 Mar 21
3
Polly as an Analysis pass in LLVM
Hey Utpal,
First of, I think you made nice process here and have some very good
ideas of what we could do in the future.
[NOTE: I CC'ed some people that have shown interest in this topic but I
might have forgotten some, therefor I also added the llvm-dev list.]
For the upcoming GSoC proposal we should slow down a little bit and
reevaluate our goals. After talking to a couple of LLVM and
2018 Apr 02
0
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
"IR" often refers to the general concept/semantics, not only the textual
format in .ll files (there are 3 main forms - bitcode, textual IR, and the
in-memory representation (llvm::Module, etc - constructed using IRBuilder)).
A great place to start is to look at what Clang does to produce debug info
- it uses IRBuilder, for instance. So you could look at how Clang uses the
IRBuilder when
2018 Apr 01
0
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
Binding the alloca to the debug-info metadata is not automatic. You need to emit an intrinsic function call to llvm.dbg.declare to bind the two together.
If you are simply trying to emit DWARF for your program, the rest of the processing should already be in place for that. If you are trying to do something else, you would need to describe that so we understand what you need.
--paulr
From:
2016 Mar 23
0
Polly as an Analysis pass in LLVM
Hi Johannes,
On Mon, Mar 21, 2016 at 6:35 PM, Johannes Doerfert <
doerfert at cs.uni-saarland.de> wrote:
> Hey Utpal,
>
> First of, I think you made nice process here and have some very good
> ideas of what we could do in the future.
>
> [NOTE: I CC'ed some people that have shown interest in this topic but I
> might have forgotten some, therefor I also added the
2019 Jun 18
3
Retiring VS2015 Support
AFAICT we traditionally only support building llvm/clang with the 2 most
recent releases of Visual Studio.
With the release of VS2019, what do people think of retiring VS2015
support before the next major llvm/clang release?
As well as simplifying C++14 migration (admittedly only a little), this
should also let us remove a number of hacks (e.g. the
alignas/AlignedCharArray hack in
2016 Mar 25
0
Polly as an Analysis pass in LLVM
In the design the LLVM passes always directly communicate with PolyhedralInfo,
this requires Polly tightly integrate in to LLVM.
If we do not want a tight integration, we can do the following:
1. Introduce an abstract memory dependency query interface, like
AliasAnalysis
2. I remember LLVM had already have dependency analysis, this can be the
default implementation of the memory dependency query
2016 Mar 25
1
Polly as an Analysis pass in LLVM
Hi ether,
Your suggestion is appropriate with respect to LLVM framework.
However, I am not aware of such a common interface for Dependence Analysis
as there is one for AliasAnalysis.
The current plan is to provide the new Dependence Analysis interface that
can be used when the other analysis engines fail to provide a concrete
result. I do not want to overestimate things by proposing such a common
2018 Nov 29
2
Errors in configuration for LLVM with CMake GUI
I don't know what executable to point it to for SVN because, like I said before, I just right click where I want to check something out and click what I need in the context menu. So I need to know what executable to point it to.
________________________________
From: Osman Zakir <osmanzakir90 at hotmail.com>
Sent: Thursday, November 29, 2018 11:06 PM
To: Zachary Turner; llvm-dev at
2019 Nov 10
2
lld-link.exe Can't Recognize .obj File Type?
Hi.
Just now when I tried to compile a .cpp file using the LLVM toolset in VS2019, I got two error messages from lld-link:
"
lld-link : error : Debug\cust_std_lib_facilities.obj: unknown file type
lld-link : error : Debug\Ex10_10.obj: unknown file type
"
What's the reason for this, and is there a way to fix it? This is the first time I'm saying this error; I've used LLVM