From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- clang/www/demo/DemoInfo.html | 83 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 clang/www/demo/DemoInfo.html (limited to 'clang/www/demo/DemoInfo.html') diff --git a/clang/www/demo/DemoInfo.html b/clang/www/demo/DemoInfo.html new file mode 100644 index 0000000..54a5afa --- /dev/null +++ b/clang/www/demo/DemoInfo.html @@ -0,0 +1,83 @@ + + + + +Demo page information + + + + + +

Demo page information

+ +

Press "back" or click here to return to the demo +page.

+ +

Hints and Advice

+ + + + +

Demangle C++ names with C++ filt

+ +

+Select this option if you want to run the output LLVM IR through "c++filt", +which converts 'mangled' C++ names to their unmangled version. +Note that LLVM code produced will not be lexically valid, but it will +be easier to understand. +

+ +

Run link-time optimizer

+ +

+Select this option to run the LLVM link-time optimizer, which is designed to +optimize across files in your application. Since the demo page doesn't allow +you to upload multiple files at once, and does not link in any libraries, we +configured the demo page optimizer to assume there are no calls +coming in from outside the source file, allowing it to optimize more +aggressively.

+ +

Note that you have to define 'main' in your program for this +to make much of a difference. +

+ +

Show detailed pass statistics

+ +

+Select this option to enable compilation timings and statistics from various +optimizers.

+ + +

Analyze generated bytecode

+ +

+Select this option to run the llvm-bcanalyzer tool +on the generated bytecode, which introspects into the format of the .bc file +itself.

+ + +

Show C++ API code

+ +

+Select this option to run the llvm2cpp tool +on the generated bytecode, which auto generates the C++ API calls that could +be used to create the .bc file. +

+ + + + -- cgit v1.2.3